--- zzzz-none-000/linux-3.10.107/drivers/mtd/nand/sm_common.h 2017-06-27 09:49:32.000000000 +0000 +++ scorpion-7490-727/linux-3.10.107/drivers/mtd/nand/sm_common.h 2021-02-04 17:41:59.000000000 +0000 @@ -18,7 +18,7 @@ uint8_t ecc2[3]; uint8_t lba_copy2[2]; uint8_t ecc1[3]; -} __attribute__((packed)); +} __packed; /* one sector is always 512 bytes, but it can consist of two nand pages */