From patchwork Tue May 24 07:41:27 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Artem Bityutskiy X-Patchwork-Id: 97130 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from bombadil.infradead.org (bombadil.infradead.org [18.85.46.34]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id 40B83B6FA3 for ; Tue, 24 May 2011 17:47:11 +1000 (EST) Received: from canuck.infradead.org ([2001:4978:20e::1]) by bombadil.infradead.org with esmtps (Exim 4.76 #1 (Red Hat Linux)) id 1QOmJM-00035Z-6K; Tue, 24 May 2011 07:45:52 +0000 Received: from localhost ([127.0.0.1] helo=canuck.infradead.org) by canuck.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1QOmJK-0005zi-E1; Tue, 24 May 2011 07:45:50 +0000 Received: from mail-fx0-f49.google.com ([209.85.161.49]) by canuck.infradead.org with esmtps (Exim 4.76 #1 (Red Hat Linux)) id 1QOmJH-0005zO-EB for linux-mtd@lists.infradead.org; Tue, 24 May 2011 07:45:48 +0000 Received: by fxm14 with SMTP id 14so5826909fxm.36 for ; Tue, 24 May 2011 00:45:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:subject:from:reply-to:to:cc:in-reply-to :references:content-type:date:message-id:mime-version:x-mailer :content-transfer-encoding; bh=ITRmtY+uDLnrscF897Ol4b8n7Bh4Y2r7MTs8Saca2as=; b=J1UVX48PL+RsI1vrIv11golsubnQnh8FREa65oa1RR/gqahaTGetEhxQXM3LrNKuOs JF9mW5KGU+WkocNV0x0A7AF1Gm5hujpMQmZTlXZrFJGxDxWRnHieCfjVtXYHg0VxDD1T eatbeMBcrDo/Dmm7wrDkA815UOg3A6x/Usq6U= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=subject:from:reply-to:to:cc:in-reply-to:references:content-type :date:message-id:mime-version:x-mailer:content-transfer-encoding; b=VENimoQCSjaQXUrBUqAerTiv48W+D4mRdZmI5Xw1DWo8Vgx9jXI38SLchwrH432xi9 v0rfGoldyuRcHEEmDOnFMVFjA6gXsI+5zVVLPm+MZZdaTuQ/zbMq1PKN5TXPR5ArjYzZ L9iW+NRln7mlSCuyS+sGs8kNp01BbS+uAb3MA= Received: by 10.223.53.85 with SMTP id l21mr3362341fag.26.1306223145303; Tue, 24 May 2011 00:45:45 -0700 (PDT) Received: from ?IPv6:::1? (shutemov.name [188.40.19.243]) by mx.google.com with ESMTPS id b22sm537814fab.28.2011.05.24.00.45.43 (version=SSLv3 cipher=OTHER); Tue, 24 May 2011 00:45:44 -0700 (PDT) Subject: Re: [PATCH -next] mtd: fix physmap.h warnings From: Artem Bityutskiy To: Randy Dunlap In-Reply-To: <20110523113709.4357b4ba.randy.dunlap@oracle.com> References: <20110523154518.5e27cfb0.sfr@canb.auug.org.au> <20110523113709.4357b4ba.randy.dunlap@oracle.com> Date: Tue, 24 May 2011 10:41:27 +0300 Message-ID: <1306222887.2785.54.camel@localhost> Mime-Version: 1.0 X-Mailer: Evolution 2.32.2 (2.32.2-1.fc14) X-CRM114-Version: 20090807-BlameThorstenAndJenny ( TRE 0.7.6 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20110524_034547_623765_C667252C X-CRM114-Status: GOOD ( 16.02 ) X-Spam-Score: 1.4 (+) X-Spam-Report: SpamAssassin version 3.3.1 on canuck.infradead.org summary: Content analysis details: (1.4 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [209.85.161.49 listed in list.dnswl.org] 0.0 FREEMAIL_FROM Sender email is freemail (dedekind1[at]gmail.com) 2.2 FREEMAIL_ENVFROM_END_DIGIT Envelope-from freemail username ends in digit (dedekind1[at]gmail.com) -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 0.0 RFC_ABUSE_POST Both abuse and postmaster missing on sender domain Cc: Stephen Rothwell , linux-next@vger.kernel.org, linux-mtd@lists.infradead.org, David Woodhouse , LKML X-BeenThere: linux-mtd@lists.infradead.org X-Mailman-Version: 2.1.12 Precedence: list Reply-To: dedekind1@gmail.com List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: linux-mtd-bounces@lists.infradead.org Errors-To: linux-mtd-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org From: Randy Dunlap Subject: [PATCH] mtd: fix physmap.h warnings Fix build warnings in physmap.h: include/linux/mtd/physmap.h:25: warning: 'struct platform_device' declared inside parameter list include/linux/mtd/physmap.h:25: warning: its scope is only this definition or declaration, which is probably not what you want include/linux/mtd/physmap.h:26: warning: 'struct platform_device' declared inside parameter list include/linux/mtd/physmap.h:27: warning: 'struct platform_device' declared inside parameter list Signed-off-by: Randy Dunlap Signed-off-by: Artem Bityutskiy --- include/linux/mtd/physmap.h | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/include/linux/mtd/physmap.h b/include/linux/mtd/physmap.h index 49b9590..697cc98 100644 --- a/include/linux/mtd/physmap.h +++ b/include/linux/mtd/physmap.h @@ -19,6 +19,7 @@ #include struct map_info; +struct platform_device; struct physmap_flash_data { unsigned int width;