From mboxrd@z Thu Jan 1 00:00:00 1970 From: Geert Uytterhoeven Subject: Re: [PATCH 2/3] scsi/ncr5380: Avoid a compiler warning Date: Sun, 28 Aug 2016 10:08:08 +0200 Message-ID: References: <20160827022958.983743612@telegraphics.com.au> <20160827022959.211730285@telegraphics.com.au> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Return-path: In-Reply-To: <20160827022959.211730285@telegraphics.com.au> Sender: linux-kernel-owner@vger.kernel.org To: Finn Thain Cc: "James E.J. Bottomley" , "Martin K. Petersen" , scsi , Linux/m68k , "linux-kernel@vger.kernel.org" , Michael Schmitz List-Id: linux-scsi@vger.kernel.org On Sat, Aug 27, 2016 at 4:30 AM, Finn Thain wrote: > With commit 3a0f64bfa907 ("mac_scsi: Fix pseudo DMA implementation") > some versions of gcc now warn: > > In file included from drivers/scsi/mac_scsi.c:335: > drivers/scsi/NCR5380.h:295: warning: `NCR5380_poll_politely' declared inline after being called > drivers/scsi/NCR5380.h:295: warning: previous declaration of `NCR5380_poll_politely' was here > > Avoid this by defining NCR5380_poll_politely() in NCR5380.h. > > Suggested-by: Geert Uytterhoeven > Signed-off-by: Finn Thain Tested-by: Geert Uytterhoeven Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds