Re: [PATCH 03/29] ncr5380: Fix compiler warnings and __setup options

Hannes Reinecke
2014-10-06T09:19:56Z

On 10/02/2014 08:56 AM, Finn Thain wrote:
> Some __setup() options mentioned in Documentation/scsi don't work because
> a few lines of code went missing sometime since Linux 2.4. Fix the options
> and thus fix some compiler warnings for both the non-modular case,
>
> CC drivers/scsi/dtc.o
> drivers/scsi/dtc.c:176:20: warning: 'dtc_setup' defined but not used [-Wunused-function]
>
> and the modular case,
>
> CC [M] drivers/scsi/pas16.o
> drivers/scsi/pas16.c:335:20: warning: 'pas16_setup' defined but not used [-Wunused-function]
> CC [M] drivers/scsi/t128.o
> drivers/scsi/t128.c:147:20: warning: 't128_setup' defined but not used [-Wunused-function]
>
> Signed-off-by: Finn Thain <fthain@telegraphics.com.au>
>
Reviewed-by: Hannes Reinecke <hare@suse.de>

Cheers,

Hannes
--
Dr. Hannes Reinecke zSeries & Storage
hare@suse.de +49 911 74053 688
SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg
GF: J. Hawn, J. Guild, F. Imendörffer, HRB 16746 (AG Nürnberg)