From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755072Ab3LQQh7 (ORCPT ); Tue, 17 Dec 2013 11:37:59 -0500 Received: from relay5-d.mail.gandi.net ([217.70.183.197]:39452 "EHLO relay5-d.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752609Ab3LQQh5 convert rfc822-to-8bit (ORCPT ); Tue, 17 Dec 2013 11:37:57 -0500 X-Originating-IP: 50.43.14.201 Date: Tue, 17 Dec 2013 08:37:51 -0800 From: Josh Triplett To: Rashika Kheria Cc: linux-kernel@vger.kernel.org, "David S. Miller" , linux-ide@vger.kernel.org Subject: Re: [PATCH 2/2] drivers: ide: Include appropriate header file in ide-pio-blacklist.c Message-ID: <20131217163751.GC1062@leaf> References: <2ec755ae03ae9f912f40a12a241f997909f380a1.1387278225.git.rashika.kheria@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <2ec755ae03ae9f912f40a12a241f997909f380a1.1387278225.git.rashika.kheria@gmail.com> User-Agent: Mutt/1.5.21 (2010-09-15) Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Dec 17, 2013 at 04:41:11PM +0530, Rashika Kheria wrote: > Include appropriate header file include/linux/ide.h in file > ide-pio-blacklist.c because function ide_scan_pio_blacklist() has it's > prototype declaration in include/linux/ide.h. > > This eliminates the following warning in ide-pio-blacklist.c: > drivers/ide/ide-pio-blacklist.c:85:5: warning: no previous prototype for ‘ide_scan_pio_blacklist’ [-Wmissing-prototypes] > > Signed-off-by: Rashika Kheria Reviewed-by: Josh Triplett > drivers/ide/ide-pio-blacklist.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/ide/ide-pio-blacklist.c b/drivers/ide/ide-pio-blacklist.c > index a8c2c8f8..40e683a 100644 > --- a/drivers/ide/ide-pio-blacklist.c > +++ b/drivers/ide/ide-pio-blacklist.c > @@ -7,6 +7,7 @@ > */ > > #include > +#include > > static struct ide_pio_info { > const char *name; > -- > 1.7.9.5 >