Ignore:
Timestamp:
Mar 13, 2017, 11:28:42 AM (2 weeks ago)
Author:
brainslayer
Message:

its big endian

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/linux/universal/linux-4.9/drivers/mtd/devices/wzrg450nh_flash.c

    r31630 r31646  
    798798                while ((offset + mtd->erasesize) < mtd->size) {
    799799                        mtd_read(mtd,offset,512,&retlen,&buf[0]);
    800                         if (*((__u32 *)buf) == SQUASHFS_MAGIC) {
     800                        if (*((__u32 *)buf) == SQUASHFS_MAGIC_SWAP) {
    801801                                printk(KERN_EMERG "\nfound squashfs at %X\n",offset);
    802802                                sb = (struct squashfs_super_block *)buf;
Note: See TracChangeset for help on using the changeset viewer.