[PATCH] scsi: osst: fix sparse warnings

2015-02-04 Thread Lad Prabhakar
From: "Lad, Prabhakar" this patch fixes following sparse warnings: osst.c:5699:1: warning: symbol 'dev_attr_ADR_rev' was not declared. Should it be static? osst.c:5713:1: warning: symbol 'dev_attr_media_version' was not declared. Should it be static?

[PATCH] scsi: fix sparse warnings

2015-02-05 Thread Lad Prabhakar
From: "Lad, Prabhakar" this patch fixes following sparse warnings: scsi_sysfs.c:201:25: warning: symbol 'dev_attr_hstate' was not declared. Should it be static? scsi_sysfs.c:376:24: warning: symbol 'scsi_shost_attr_group' was not declared. Should it be static?

[PATCH] bfa: bfa_core: fix sparse warning

2015-02-05 Thread Lad Prabhakar
From: "Lad, Prabhakar" this patch fixes following sparse warning: bfa_core.c:716:1: warning: symbol 'bfa_isr_rspq' was not declared. Should it be static? Signed-off-by: Lad, Prabhakar --- Found this issue on linux-next (gcc version 4.9.2, sparse version 0.4.5-rc1)and

[PATCH] scsi: fix sparse warning

2015-02-05 Thread Lad Prabhakar
From: "Lad, Prabhakar" this patch fixes following sparse warning: scsi_debug.c:2687:6: warning: symbol 'dump_sector' was not declared. Should it be static? Signed-off-by: Lad, Prabhakar --- Found this issue on linux-next (gcc version 4.9.2, sparse version 0.4.5-rc

[PATCH] scsi: initio: fix sparse warnings

2015-02-05 Thread Lad Prabhakar
From: "Lad, Prabhakar" this patch fixes following sparse warnings: initio.c:338:6: warning: symbol 'initio_se2_ew_en' was not declared. Should it be static? initio.c:352:6: warning: symbol 'initio_se2_ew_ds' was not declared. Should it be static? in

[PATCH] scsi: dc395x: fix sparse warning

2015-02-05 Thread Lad Prabhakar
From: "Lad, Prabhakar" this patch fixes following sparse warning: dc395x.c:1525:17: warning: Using plain integer as NULL pointer Signed-off-by: Lad, Prabhakar --- Found this issue on linux-next (gcc version 4.9.2, sparse version 0.4.5-rc1)and applies on top linux-next. dr

[PATCH] scsi: eata: fix sparse warning

2015-02-05 Thread Lad Prabhakar
From: "Lad, Prabhakar" this patch fixes following sparse warning: eata.c:2049:5: warning: symbol 'eata2x_bios_param' was not declared. Should it be static? Signed-off-by: Lad, Prabhakar --- Found this issue on linux-next (gcc version 4.9.2, sparse version 0.4.5-rc

[PATCH] scsi: qla1280: fix sparse warnings

2015-02-05 Thread Lad Prabhakar
From: "Lad, Prabhakar" this patch fixes following sparse warnings: qla1280.c:557:1: warning: symbol 'qla1280_firmware_mutex' was not declared. Should it be static? qla1280.c:566:15: warning: symbol 'qla1280_fw_tbl' was not declared. Should it be static?

[PATCH] scsi: ips: fix sparse warnings

2015-02-05 Thread Lad Prabhakar
From: "Lad, Prabhakar" this patch fixes following sparse warnings: ips.c:784:5: warning: symbol 'ips_eh_abort' was not declared. Should it be static? ips.c:1277:1: warning: symbol 'ips_intr_copperhead' was not declared. Should it be static? ips.c:1341:1: warn