From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755328AbcH1IIM (ORCPT ); Sun, 28 Aug 2016 04:08:12 -0400 Received: from mail-it0-f66.google.com ([209.85.214.66]:33404 "EHLO mail-it0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753008AbcH1IIK (ORCPT ); Sun, 28 Aug 2016 04:08:10 -0400 MIME-Version: 1.0 In-Reply-To: <20160827022959.211730285@telegraphics.com.au> References: <20160827022958.983743612@telegraphics.com.au> <20160827022959.211730285@telegraphics.com.au> From: Geert Uytterhoeven Date: Sun, 28 Aug 2016 10:08:08 +0200 X-Google-Sender-Auth: 6ePe9fVoH5l8DvExn4hrV0o4AtM Message-ID: Subject: Re: [PATCH 2/3] scsi/ncr5380: Avoid a compiler warning To: Finn Thain Cc: "James E.J. Bottomley" , "Martin K. Petersen" , scsi , "Linux/m68k" , "linux-kernel@vger.kernel.org" , Michael Schmitz Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@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