From patchwork Sat Jan 4 00:37:08 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Brian Norris X-Patchwork-Id: 306758 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:770:15f::2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 9FBD82C00A5 for ; Sat, 4 Jan 2014 11:38:26 +1100 (EST) Received: from merlin.infradead.org ([2001:4978:20e::2]) by casper.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1VzFFg-00082h-5D; Sat, 04 Jan 2014 00:38:08 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1VzFFd-0002kV-No; Sat, 04 Jan 2014 00:38:05 +0000 Received: from mail-ie0-x229.google.com ([2607:f8b0:4001:c03::229]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1VzFFW-0002iD-MF for linux-mtd@lists.infradead.org; Sat, 04 Jan 2014 00:38:00 +0000 Received: by mail-ie0-f169.google.com with SMTP id e14so16728610iej.14 for ; Fri, 03 Jan 2014 16:37:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=dFNKgpGmwyGRKNZkrvZ4Uji7r277+ARHNuoTDqBvCGQ=; b=IJSyqu773E8xYBVd66ssC6dsugV/NXH5fcbdw69jWSJfT4KTjWGaBwH9X1X98G9DS+ rph5WsznaPW2dyqU0iudcc3ucksMMtAeK12hc1SO9SZR3pCT/deKjLmzQ6k0D5Fs+lOe I/lUtMlyKEMZR24KdggbzFhvKtNPFtUCvy2m/LbN/KM+cZ7DM9tGQvs2/6j5CQM3hQIZ bPjzxY84mjYVS5KwOjdsQ40bAfDIiOA/g5G+qntHq8onAPAuT7KhH4zx2NEvTEzmFefb dR1hTrUr9gnAG/MfZ2ZgzvzuFZNintfgk6cdUcnrQmhqvkrHQhPZ5YvS7BIZRZfDdlk2 I3/g== X-Received: by 10.50.56.38 with SMTP id x6mr5813614igp.31.1388795854002; Fri, 03 Jan 2014 16:37:34 -0800 (PST) Received: from ld-irv-0074.broadcom.com (5520-maca-inet1-outside.broadcom.com. [216.31.211.11]) by mx.google.com with ESMTPSA id qk7sm4229698igc.8.2014.01.03.16.37.32 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 03 Jan 2014 16:37:33 -0800 (PST) From: Brian Norris To: Subject: [PATCH v3 5/5] mtd: nand: use __packed shorthand Date: Fri, 3 Jan 2014 16:37:08 -0800 Message-Id: <1388795828-24808-5-git-send-email-computersforpeace@gmail.com> X-Mailer: git-send-email 1.8.3.2 In-Reply-To: <1388795828-24808-1-git-send-email-computersforpeace@gmail.com> References: <1388795828-24808-1-git-send-email-computersforpeace@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140103_193758_807478_B22646C2 X-CRM114-Status: UNSURE ( 8.39 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -2.0 (--) X-Spam-Report: SpamAssassin version 3.3.2 on merlin.infradead.org summary: Content analysis details: (-2.0 points) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (computersforpeace[at]gmail.com) -0.0 SPF_PASS SPF: sender matches SPF record -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature Cc: Huang Shijie , Brian Norris , Pekon Gupta X-BeenThere: linux-mtd@lists.infradead.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-mtd" Errors-To: linux-mtd-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org 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 e3621aba1417..2413bac095ae 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