From: Praveen Madhavan Date: Fri, 9 Jan 2015 15:55:16 +0000 (+0530) Subject: csiostor:fix sparse warnings X-Git-Tag: omap-for-v4.1/prcm-dts-mfd-syscon-fix~134^2~262 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=78890ed7549444fa9b9ff7e544d6bdd44b4c9566;p=pandora-kernel.git 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] drivers/scsi/csiostor/csio_hw.c:536:31: got restricted __be32 [usertype] >> 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 Signed-off-by: David S. Miller --- Reading git-diff-tree failed