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

its big endian

File:
1 edited

Legend:

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

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