linux/drivers/message/fusion
Eric Moore ab37128797 [SCSI] mptctl : shutup uninitialized variable warnings
drivers/message/fusion/mptctl.c: In function ‘mptctl_mpt_command’:
drivers/message/fusion/mptctl.c:1764: warning: ‘bufIn.len’ may be used uninitialized in this function
drivers/message/fusion/mptctl.c:1765: warning: ‘bufOut.len’ may be used uninitialized in this function

come because gcc gets confused by some "goto" statements in above
function.  The warnings have been verified to be bogus, however, the
function does initialize these later (after the offending goto's) in
the function anyway.  So let's move those initializations to top of
function, thereby also shutting up these warnings.

Signed-off-by: Eric Moore <Eric.Moore@lsi.com>
Signed-off-by: Satyam Sharma <satyam@infradead.org>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
2007-10-12 14:52:27 -04:00
..
lsi [SCSI] mpt fusion: Change company name from LSI Logic to LSI 2007-10-12 14:40:54 -04:00
Kconfig [SCSI] mpt fusion: Kconfig cleanup 2007-10-12 14:48:53 -04:00
Makefile [SCSI] mpt fusion: logging support in Kconfig, Makefile, mptbase.h and addition of mptdebug.h 2007-07-28 11:25:35 -04:00
mptbase.c [SCSI] mpt fusion: Fix sparse warnings 2007-10-12 14:52:11 -04:00
mptbase.h [SCSI] mpt fusion: fix up fusion prints using the sdev_printk, dev_printk, and shost_printk API 2007-10-12 14:52:19 -04:00
mptctl.c [SCSI] mptctl : shutup uninitialized variable warnings 2007-10-12 14:52:27 -04:00
mptctl.h [SCSI] mpt fusion: Change company name from LSI Logic to LSI 2007-10-12 14:40:54 -04:00
mptdebug.h [SCSI] mpt fusion: logging support in Kconfig, Makefile, mptbase.h and addition of mptdebug.h 2007-07-28 11:25:35 -04:00
mptfc.c [SCSI] mpt fusion: lock down ScsiLookup 2007-10-12 14:52:15 -04:00
mptlan.c [SCSI] mptlan: bug fix, only half the message frame is dma'd resulting in corruption 2007-10-12 14:52:23 -04:00
mptlan.h [SCSI] mpt fusion: Change company name from LSI Logic to LSI 2007-10-12 14:40:54 -04:00
mptsas.c [SCSI] mpt fusion: fix up fusion prints using the sdev_printk, dev_printk, and shost_printk API 2007-10-12 14:52:19 -04:00
mptsas.h [SCSI] mpt fusion: Creation of mptsas.h header file 2007-10-12 14:40:47 -04:00
mptscsih.c [SCSI] mpt fusion: fix up fusion prints using the sdev_printk, dev_printk, and shost_printk API 2007-10-12 14:52:19 -04:00
mptscsih.h [SCSI] mpt fusion: Change company name from LSI Logic to LSI 2007-10-12 14:40:54 -04:00
mptspi.c [SCSI] mpt fusion: fix up fusion prints using the sdev_printk, dev_printk, and shost_printk API 2007-10-12 14:52:19 -04:00