Received: from mail-ig0-x22f.google.com ([2607:f8b0:4001:c05::22f]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1W2nRz-00038f-LZ for linux-mtd@lists.infradead.org; Mon, 13 Jan 2014 19:45:32 +0000 Received: by mail-ig0-f175.google.com with SMTP id uq10so3683935igb.2 for ; Mon, 13 Jan 2014 11:45:10 -0800 (PST) From: Brian Norris To: Subject: [PATCH v4 5/5] mtd: nand: use __packed shorthand Date: Mon, 13 Jan 2014 11:44:40 -0800 Message-Id: <1389642280-11714-5-git-send-email-computersforpeace@gmail.com> In-Reply-To: <1389642280-11714-1-git-send-email-computersforpeace@gmail.com> References: <1389642280-11714-1-git-send-email-computersforpeace@gmail.com> Cc: Huang Shijie , Brian Norris , Pekon Gupta List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To be consistent with the rest of include/linux/mtd/nand.h, we should use the __packed shorthand instead of __attribute__((packed)). Signed-off-by: Brian Norris Acked-by: Huang Shijie --- No change since v1 include/linux/mtd/nand.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/linux/mtd/nand.h b/include/linux/mtd/nand.h index 3080a8c8b62e..05fcdfea640b 100644 --- a/include/linux/mtd/nand.h +++ b/include/linux/mtd/nand.h @@ -292,7 +292,7 @@ struct nand_onfi_params { u8 vendor[88]; __le16 crc; -} __attribute__((packed)); +} __packed; #define ONFI_CRC_BASE 0x4F4E -- 1.8.3.2