csiostor:fix sparse warnings
authorPraveen Madhavan <praveenm@chelsio.com>
Fri, 9 Jan 2015 15:55:16 +0000 (21:25 +0530)
committerDavid S. Miller <davem@davemloft.net>
Mon, 12 Jan 2015 05:40:30 +0000 (00:40 -0500)
commit78890ed7549444fa9b9ff7e544d6bdd44b4c9566
tree4f47b82ce8462d80f2ae85efe3da06adf5ab838c
parentd3b4b26173ee45a8097a64330ae4a509f4e5db0b
csiostor:fix sparse warnings

This patch fixes sparse warning reported by kbuild.
Apply this on net-next since it depends on previous commit.

drivers/scsi/csiostor/csio_hw.c:259:17: sparse: cast to restricted __le32
drivers/scsi/csiostor/csio_hw.c:536:31: sparse: incorrect type in assignment
(different base types)
drivers/scsi/csiostor/csio_hw.c:536:31:    expected unsigned int [unsigned]
[usertype] <noident>
drivers/scsi/csiostor/csio_hw.c:536:31:    got restricted __be32 [usertype]
<noident>
>> drivers/scsi/csiostor/csio_hw.c:2012:5: sparse: symbol 'csio_hw_prep_fw' was
not declared. Should it be static?

Signed-off-by: Praveen Madhavan <praveenm@chelsio.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/scsi/csiostor/csio_hw.c