• P
    csiostor:fix sparse warnings · 78890ed7
    Praveen Madhavan 提交于
    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: NPraveen Madhavan <praveenm@chelsio.com>
    Signed-off-by: NDavid S. Miller <davem@davemloft.net>
    78890ed7
csio_hw.c 103.2 KB