From patchwork Mon Dec 9 20:09:13 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Brian Norris X-Patchwork-Id: 299179 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from casper.infradead.org (unknown [IPv6:2001:770:15f::2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id 8BDF82C00AF for ; Tue, 10 Dec 2013 07:10:27 +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 1Vq79d-0006YO-1w; Mon, 09 Dec 2013 20:10:09 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1Vq79X-0000k3-Cb; Mon, 09 Dec 2013 20:10:03 +0000 Received: from mail-ob0-x231.google.com ([2607:f8b0:4003:c01::231]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1Vq79L-0000hG-CO for linux-mtd@lists.infradead.org; Mon, 09 Dec 2013 20:09:53 +0000 Received: by mail-ob0-f177.google.com with SMTP id va2so4217732obc.8 for ; Mon, 09 Dec 2013 12:09:30 -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=j6nW5j194FrTZyQfHK60yoLYo1jt8FydiUVH0P9ZGTg=; b=XqzLXmVBGfC2d9vNBmajBe1sDzE2oZLPEXYDa2qU5lopNkI7cS/myayzGuSM7Nw818 Jm6/yDCBiHYwINoMVlnJxW38XUExh4rdHSdR+EmVA6urqWoqtWRa9+2T3kvA80grZFOi yQJGjhRjEcMWkUlHFH63r4IkQGe1EYXwubdTDFucnwTaDQrI5/adssxgKU7/cq8wuRpu MEQ4UIQ7rgX9rasOSBnN6psEEPpWxCJ+1qILcoqeaGq77YzxhEb7TIMjGChLfIq7QUYX 9hY8VIVZSaJ3Ny0iDIXSS4URXw4jjUCrWQfQ1tyhiAoter/MHopebA+heyM8RAxXalI1 qMWQ== X-Received: by 10.182.40.201 with SMTP id z9mr13794639obk.45.1386619770198; Mon, 09 Dec 2013 12:09:30 -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 g4sm17451726obe.5.2013.12.09.12.09.28 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Mon, 09 Dec 2013 12:09:29 -0800 (PST) From: Brian Norris To: Subject: [PATCH v2 4/4] mtd: nand: use __packed shorthand Date: Mon, 9 Dec 2013 12:09:13 -0800 Message-Id: <1386619753-27613-4-git-send-email-computersforpeace@gmail.com> X-Mailer: git-send-email 1.8.5 In-Reply-To: <1386619753-27613-1-git-send-email-computersforpeace@gmail.com> References: <1386619753-27613-1-git-send-email-computersforpeace@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20131209_150951_554254_B14EB6D7 X-CRM114-Status: UNSURE ( 8.42 ) 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 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 --- v1 -> v2: no change 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 6e579e90955e..32213a5a6705 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