Hi Suganath,

I love your patch! Perhaps something to improve:

[auto build test WARNING on scsi/for-next]
[also build test WARNING on v5.1 next-20190517]
[if your patch is applied to the wrong git tree, please drop us a note to help 
improve the system]

url:    
https://github.com/0day-ci/linux/commits/Suganath-Prabu-S/mpt3sas-Aero-Sea-HBA-feature-addition/20190518-092803
base:   https://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi.git for-next
reproduce:
        # apt-get install sparse
        make ARCH=x86_64 allmodconfig
        make C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__'

If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <l...@intel.com>


sparse warnings: (new ones prefixed by >>)

   drivers/scsi/mpt3sas/mpt3sas_base.c:1515:64: sparse: sparse: incorrect type 
in argument 2 (different address spaces) @@    expected void volatile [noderef] 
<asn:2> *addr @@    got id volatile [noderef] <asn:2> *addr @@
   drivers/scsi/mpt3sas/mpt3sas_base.c:1515:64: sparse:    expected void 
volatile [noderef] <asn:2> *addr
   drivers/scsi/mpt3sas/mpt3sas_base.c:1515:64: sparse:    got unsigned long 
long [usertype] *
   drivers/scsi/mpt3sas/mpt3sas_base.c:1569:52: sparse: sparse: incorrect type 
in argument 2 (different address spaces) @@    expected void volatile [noderef] 
<asn:2> *addr @@    got id volatile [noderef] <asn:2> *addr @@
   drivers/scsi/mpt3sas/mpt3sas_base.c:1569:52: sparse:    expected void 
volatile [noderef] <asn:2> *addr
   drivers/scsi/mpt3sas/mpt3sas_base.c:1569:52: sparse:    got unsigned long 
long [usertype] *
>> drivers/scsi/mpt3sas/mpt3sas_base.c:3539:1: sparse: sparse: symbol 
>> '_base_put_smid_fast_path' was not declared. Should it be static?
>> drivers/scsi/mpt3sas/mpt3sas_base.c:3562:1: sparse: sparse: symbol 
>> '_base_put_smid_hi_priority' was not declared. Should it be static?
>> drivers/scsi/mpt3sas/mpt3sas_base.c:3625:1: sparse: sparse: symbol 
>> '_base_put_smid_default' was not declared. Should it be static?
   drivers/scsi/mpt3sas/mpt3sas_base.c:5317:24: sparse: sparse: incorrect type 
in argument 1 (different base types) @@    expected unsigned int val @@    got 
restricted __le3unsigned int val @@
   drivers/scsi/mpt3sas/mpt3sas_base.c:5317:24: sparse:    expected unsigned 
int val
   drivers/scsi/mpt3sas/mpt3sas_base.c:5317:24: sparse:    got restricted 
__le32 [usertype]
   drivers/scsi/mpt3sas/mpt3sas_base.c:5336:20: sparse: sparse: cast to 
restricted __le16
   drivers/scsi/mpt3sas/mpt3sas_base.c:5344:20: sparse: sparse: cast to 
restricted __le16
   drivers/scsi/mpt3sas/mpt3sas_base.c:5357:36: sparse: sparse: cast to 
restricted __le16
   drivers/scsi/mpt3sas/mpt3sas_base.c:6442:55: sparse: sparse: incorrect type 
in argument 2 (different address spaces) @@    expected void volatile [noderef] 
<asn:2> *addr @@    got id volatile [noderef] <asn:2> *addr @@
   drivers/scsi/mpt3sas/mpt3sas_base.c:6442:55: sparse:    expected void 
volatile [noderef] <asn:2> *addr
   drivers/scsi/mpt3sas/mpt3sas_base.c:6442:55: sparse:    got unsigned long 
long [usertype] *

Please review and possibly fold the followup patch.

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

Reply via email to