Re: [PATCH] g_NCR5380: Kill compiler warning if builtin

2015-01-28 Thread Finn Thain
Acked-by: Finn Thain On Sat, 3 Jan 2015, Geert Uytterhoeven wrote: > If CONFIG_SCSI_GENERIC_NCR5380=y: > > drivers/scsi/g_NCR5380.c:727: warning: ?id_table? defined but not used > > In the non-modular case, MODULE_DEVICE_TABLE() expands to nothing, and > id_table is not referenced. > >

Re: [PATCH] g_NCR5380: Kill compiler warning if builtin

2015-01-28 Thread Finn Thain
Acked-by: Finn Thain fth...@telegraphics.com.au On Sat, 3 Jan 2015, Geert Uytterhoeven wrote: If CONFIG_SCSI_GENERIC_NCR5380=y: drivers/scsi/g_NCR5380.c:727: warning: ?id_table? defined but not used In the non-modular case, MODULE_DEVICE_TABLE() expands to nothing, and id_table is not

[PATCH] g_NCR5380: Kill compiler warning if builtin

2015-01-03 Thread Geert Uytterhoeven
If CONFIG_SCSI_GENERIC_NCR5380=y: drivers/scsi/g_NCR5380.c:727: warning: ‘id_table’ defined but not used In the non-modular case, MODULE_DEVICE_TABLE() expands to nothing, and id_table is not referenced. Correct the existing #ifdef to fix this. Signed-off-by: Geert Uytterhoeven ---

[PATCH] g_NCR5380: Kill compiler warning if builtin

2015-01-03 Thread Geert Uytterhoeven
If CONFIG_SCSI_GENERIC_NCR5380=y: drivers/scsi/g_NCR5380.c:727: warning: ‘id_table’ defined but not used In the non-modular case, MODULE_DEVICE_TABLE() expands to nothing, and id_table is not referenced. Correct the existing #ifdef to fix this. Signed-off-by: Geert Uytterhoeven