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
Kconfig
Makefile
mptbase.c
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
mptdebug.h
mptfc.c
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
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
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
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