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/ar9100_pflash.c

    r31630 r31646  
    277277            {
    278278            //printk(KERN_EMERG "[0x%08X] = [0x%08X]!=[0x%08X]\n",offset,*((unsigned int *) buf),SQUASHFS_MAGIC);
    279             if (*((__u32 *) buf) == SQUASHFS_MAGIC)
     279            if (*((__u32 *) buf) == SQUASHFS_MAGIC_SWAP)
    280280                {
    281281                printk(KERN_EMERG "\nfound squashfs at %X\n",offset);
Note: See TracChangeset for help on using the changeset viewer.