[SCSI] megaraid: cleanup type issue in mega_build_cmd()
authorDan Carpenter <dan.carpenter@oracle.com>
Wed, 27 Jun 2012 09:08:25 +0000 (12:08 +0300)
committerJames Bottomley <JBottomley@Parallels.com>
Fri, 20 Jul 2012 07:58:38 +0000 (08:58 +0100)
commit9d5d93e32a365f962fb26ebd19c0b4a392f38e64
tree80a96c1eb47ef1df23c6040a38fb39bc8716dfdb
parenta5254dbb17dd22999f808e646780c32858a3eafa
[SCSI] megaraid: cleanup type issue in mega_build_cmd()

On 64 bit systems the current code sets 32 bits of "seg" and leaves the
other 32 uninitialized.  It doesn't matter since the variable is never
used.  But it's still messy and we should fix it.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Acked-by: Adam Radford <aradford@gmail.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
drivers/scsi/megaraid.c