From patchwork Thu Dec 5 20:20:00 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Brian Norris X-Patchwork-Id: 297390 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 231F72C00A8 for ; Fri, 6 Dec 2013 07:21:10 +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 1VofPn-0003RW-Cb; Thu, 05 Dec 2013 20:20:51 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1VofPh-0004Z1-OE; Thu, 05 Dec 2013 20:20:45 +0000 Received: from mail-qa0-x235.google.com ([2607:f8b0:400d:c00::235]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1VofPV-0004WG-DW for linux-mtd@lists.infradead.org; Thu, 05 Dec 2013 20:20:34 +0000 Received: by mail-qa0-f53.google.com with SMTP id j5so165422qaq.12 for ; Thu, 05 Dec 2013 12:20:12 -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=k3zvsKCjTQIzef/gqO67aGfO5ZXlEcDvXyut0f6gtws=; b=jSTF61sJ8JvsbMQzMhk8roLFRCRdhO0U3l/DBzzV1rwCj5fUgidlv9rxQFkGpM/0wP oopax+4QhrV9eFiBamCEWaErBewwtm5drVPJBN2BTjbqX3TSClDLfuwLaSUpsxapRWG0 HJ1SVUOXk9ml7+ypreB4tW3aWe5xOjohcsNDRTkff6icCLNSp+lOYesY+fof3Yuv7+6O fFpHcHYXiVY6ykxF6I57qW8qot6Yh5GXes1i0zwzWcTcBPLMJncLU3CDeY5Sgpd8ss/C f4Np/VqIF8eJ4TVCgqcTZsZDZkzBeK4Tk+SOG759Q9XnUMJxOQYuq8IL7BsdfFyJ24tJ txyQ== X-Received: by 10.224.88.134 with SMTP id a6mr51636744qam.73.1386274812305; Thu, 05 Dec 2013 12:20:12 -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 hb2sm32381182qeb.6.2013.12.05.12.20.11 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Thu, 05 Dec 2013 12:20:11 -0800 (PST) From: Brian Norris To: Subject: [PATCH 4/4] mtd: nand: use __packed shorthand Date: Thu, 5 Dec 2013 12:20:00 -0800 Message-Id: <1386274800-22013-4-git-send-email-computersforpeace@gmail.com> X-Mailer: git-send-email 1.8.5 In-Reply-To: <1386274800-22013-1-git-send-email-computersforpeace@gmail.com> References: <1386274800-22013-1-git-send-email-computersforpeace@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20131205_152033_560019_8D55F1D2 X-CRM114-Status: UNSURE ( 8.79 ) 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: 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 --- 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