public inbox for linux-scsi@vger.kernel.org
 help / color / mirror / Atom feed
From: kbuild test robot <lkp@intel.com>
To: James Smart <jsmart2021@gmail.com>
Cc: kbuild-all@lists.01.org, linux-scsi@vger.kernel.org,
	James Smart <jsmart2021@gmail.com>,
	Ram Vegesna <ram.vegesna@broadcom.com>
Subject: Re: [PATCH 32/32] elx: efct: Tie into kernel Kconfig and build process
Date: Sat, 26 Oct 2019 22:13:01 +0800	[thread overview]
Message-ID: <201910262236.pFVb5hph%lkp@intel.com> (raw)
In-Reply-To: <20191023215557.12581-33-jsmart2021@gmail.com>

Hi James,

I love your patch! Perhaps something to improve:

[auto build test WARNING on mkp-scsi/for-next]
[cannot apply to v5.4-rc4 next-20191025]
[if your patch is applied to the wrong git tree, please drop us a note to help
improve the system. BTW, we also suggest to use '--base' option to specify the
base tree in git format-patch, please see https://stackoverflow.com/a/37406982]

url:    https://github.com/0day-ci/linux/commits/James-Smart/efct-Broadcom-Emulex-FC-Target-driver/20191026-050814
base:   https://git.kernel.org/pub/scm/linux/kernel/git/mkp/scsi.git for-next
reproduce:
        # apt-get install sparse
        # sparse version: v0.6.1-dirty
        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 <lkp@intel.com>


sparse warnings: (new ones prefixed by >>)

>> drivers/scsi/elx/efct/efct_driver.c:49:33: sparse: sparse: symbol 'efct_libefc_templ' was not declared. Should it be static?
--
>> drivers/scsi/elx/efct/efct_scsi.c:1839:30: sparse: sparse: incorrect type in assignment (different base types) @@    expected restricted __be16 [usertype] ox_id @@    got icted __be16 [usertype] ox_id @@
>> drivers/scsi/elx/efct/efct_scsi.c:1839:30: sparse:    expected restricted __be16 [usertype] ox_id
>> drivers/scsi/elx/efct/efct_scsi.c:1839:30: sparse:    got unsigned int [usertype] init_task_tag
>> drivers/scsi/elx/efct/efct_scsi.c:1840:30: sparse: sparse: incorrect type in assignment (different base types) @@    expected restricted __be16 [usertype] rx_id @@    got tricted __be16 [usertype] rx_id @@
>> drivers/scsi/elx/efct/efct_scsi.c:1840:30: sparse:    expected restricted __be16 [usertype] rx_id
>> drivers/scsi/elx/efct/efct_scsi.c:1840:30: sparse:    got unsigned short [usertype] abort_rx_id
>> drivers/scsi/elx/efct/efct_scsi.c:1848:30: sparse: sparse: incorrect type in assignment (different base types) @@    expected restricted __be16 [usertype] ba_high_seq_cnt @@    got tricted __be16 [usertype] ba_high_seq_cnt @@
>> drivers/scsi/elx/efct/efct_scsi.c:1848:30: sparse:    expected restricted __be16 [usertype] ba_high_seq_cnt
>> drivers/scsi/elx/efct/efct_scsi.c:1848:30: sparse:    got unsigned short [usertype]
--
>> drivers/scsi/elx/efct/efct_els.c:2263:23: sparse: sparse: incorrect type in assignment (different base types) @@    expected restricted __be16 [usertype] ba_ox_id @@    got tricted __be16 [usertype] ba_ox_id @@
>> drivers/scsi/elx/efct/efct_els.c:2263:23: sparse:    expected restricted __be16 [usertype] ba_ox_id
>> drivers/scsi/elx/efct/efct_els.c:2263:23: sparse:    got unsigned short [usertype] ox_id
>> drivers/scsi/elx/efct/efct_els.c:2264:23: sparse: sparse: incorrect type in assignment (different base types) @@    expected restricted __be16 [usertype] ba_rx_id @@    got tricted __be16 [usertype] ba_rx_id @@
>> drivers/scsi/elx/efct/efct_els.c:2264:23: sparse:    expected restricted __be16 [usertype] ba_rx_id
>> drivers/scsi/elx/efct/efct_els.c:2264:23: sparse:    got unsigned short [usertype] rx_id
>> drivers/scsi/elx/efct/efct_els.c:2265:30: sparse: sparse: incorrect type in assignment (different base types) @@    expected restricted __be16 [usertype] ba_high_seq_cnt @@    got tricted __be16 [usertype] ba_high_seq_cnt @@
>> drivers/scsi/elx/efct/efct_els.c:2265:30: sparse:    expected restricted __be16 [usertype] ba_high_seq_cnt
>> drivers/scsi/elx/efct/efct_els.c:2265:30: sparse:    got unsigned short [usertype]
>> drivers/scsi/elx/efct/efct_els.c:1443:43: sparse: sparse: invalid assignment: |=
>> drivers/scsi/elx/efct/efct_els.c:1443:43: sparse:    left side has type restricted __be16
>> drivers/scsi/elx/efct/efct_els.c:1443:43: sparse:    right side has type restricted __be32
>> drivers/scsi/elx/efct/efct_els.c:1549:46: sparse: sparse: cast to restricted __be32
>> drivers/scsi/elx/efct/efct_els.c:1549:46: sparse: sparse: cast to restricted __be32
>> drivers/scsi/elx/efct/efct_els.c:1549:46: sparse: sparse: cast to restricted __be32
>> drivers/scsi/elx/efct/efct_els.c:1549:46: sparse: sparse: cast to restricted __be32
>> drivers/scsi/elx/efct/efct_els.c:1549:46: sparse: sparse: cast to restricted __be32
>> drivers/scsi/elx/efct/efct_els.c:1549:46: sparse: sparse: cast to restricted __be32
   drivers/scsi/elx/efct/efct_els.c:1549:42: sparse: sparse: invalid assignment: |=
>> drivers/scsi/elx/efct/efct_els.c:1549:42: sparse:    left side has type restricted __be32
>> drivers/scsi/elx/efct/efct_els.c:1549:42: sparse:    right side has type unsigned int
>> drivers/scsi/elx/efct/efct_els.c:2602:27: sparse: sparse: incorrect type in assignment (different base types) @@    expected unsigned int [usertype] init_task_tag @@    got restrunsigned int [usertype] init_task_tag @@
>> drivers/scsi/elx/efct/efct_els.c:2602:27: sparse:    expected unsigned int [usertype] init_task_tag
>> drivers/scsi/elx/efct/efct_els.c:2602:27: sparse:    got restricted __be16 [usertype] ox_id
>> drivers/scsi/elx/efct/efct_els.c:2609:38: sparse: sparse: cast from restricted __be16
>> drivers/scsi/elx/efct/efct_els.c:2609:38: sparse: sparse: incorrect type in argument 1 (different base types) @@    expected unsigned short [usertype] val @@    got resunsigned short [usertype] val @@
>> drivers/scsi/elx/efct/efct_els.c:2609:38: sparse:    expected unsigned short [usertype] val
   drivers/scsi/elx/efct/efct_els.c:2609:38: sparse:    got restricted __be16 [usertype] ox_id
>> drivers/scsi/elx/efct/efct_els.c:2609:38: sparse: sparse: cast from restricted __be16
>> drivers/scsi/elx/efct/efct_els.c:2609:38: sparse: sparse: cast from restricted __be16
>> drivers/scsi/elx/efct/efct_els.c:2609:36: sparse: sparse: incorrect type in assignment (different base types) @@    expected unsigned short [usertype] ox_id @@    got resunsigned short [usertype] ox_id @@
>> drivers/scsi/elx/efct/efct_els.c:2609:36: sparse:    expected unsigned short [usertype] ox_id
>> drivers/scsi/elx/efct/efct_els.c:2609:36: sparse:    got restricted __be16 [usertype]
--
>> drivers/scsi/elx/efct/efct_hw.c:4748:59: sparse: sparse: incorrect type in argument 3 (different base types) @@    expected unsigned int [usertype] *data @@    got ed int [usertype] *data @@
>> drivers/scsi/elx/efct/efct_hw.c:4748:59: sparse:    expected unsigned int [usertype] *data
>> drivers/scsi/elx/efct/efct_hw.c:4748:59: sparse:    got restricted __le32 *
>> drivers/scsi/elx/efct/efct_hw.c:921:36: sparse: sparse: incorrect type in assignment (different base types) @@    expected restricted __le16 [usertype] rq_id @@    got e] rq_id @@
>> drivers/scsi/elx/efct/efct_hw.c:921:36: sparse:    expected restricted __le16 [usertype] rq_id
>> drivers/scsi/elx/efct/efct_hw.c:921:36: sparse:    got int
>> drivers/scsi/elx/efct/efct_hw.c:937:49: sparse: sparse: restricted __le16 degrades to integer
   drivers/scsi/elx/efct/efct_hw.c:943:57: sparse: sparse: restricted __le16 degrades to integer
>> drivers/scsi/elx/efct/efct_hw.c:953:60: sparse: sparse: incorrect type in assignment (different base types) @@    expected restricted __le16 [usertype] rq_id @@    got icted __le16 [usertype] rq_id @@
   drivers/scsi/elx/efct/efct_hw.c:953:60: sparse:    expected restricted __le16 [usertype] rq_id
>> drivers/scsi/elx/efct/efct_hw.c:953:60: sparse:    got unsigned int [usertype] base_mrq_id
>> drivers/scsi/elx/efct/efct_hw.c:956:60: sparse: sparse: incorrect type in assignment (different base types) @@    expected restricted __le16 [usertype] rq_id @@    got tricted __le16 [usertype] rq_id @@
   drivers/scsi/elx/efct/efct_hw.c:956:60: sparse:    expected restricted __le16 [usertype] rq_id
>> drivers/scsi/elx/efct/efct_hw.c:956:60: sparse:    got unsigned short [usertype] id
   drivers/scsi/elx/efct/efct_hw.c:733:41: sparse: sparse: incorrect type in assignment (different base types) @@    expected restricted __le16 [usertype] rq_id @@    got e] rq_id @@
   drivers/scsi/elx/efct/efct_hw.c:733:41: sparse:    expected restricted __le16 [usertype] rq_id
   drivers/scsi/elx/efct/efct_hw.c:733:41: sparse:    got int
   drivers/scsi/elx/efct/efct_hw.c:766:57: sparse: sparse: incorrect type in assignment (different base types) @@    expected restricted __le16 [usertype] rq_id @@    got tricted __le16 [usertype] rq_id @@
   drivers/scsi/elx/efct/efct_hw.c:766:57: sparse:    expected restricted __le16 [usertype] rq_id
   drivers/scsi/elx/efct/efct_hw.c:766:57: sparse:    got unsigned short [usertype] id
>> drivers/scsi/elx/efct/efct_hw.c:2496:27: sparse: sparse: incorrect type in assignment (different base types) @@    expected unsigned int [usertype] sge_flags @@    got restrunsigned int [usertype] sge_flags @@
>> drivers/scsi/elx/efct/efct_hw.c:2496:27: sparse:    expected unsigned int [usertype] sge_flags
>> drivers/scsi/elx/efct/efct_hw.c:2496:27: sparse:    got restricted __le32 [usertype] dw2_flags
>> drivers/scsi/elx/efct/efct_hw.c:2532:27: sparse: sparse: incorrect type in assignment (different base types) @@    expected unsigned int [assigned] [usertype] sge_flags @@    got ed int [assigned] [usertype] sge_flags @@
>> drivers/scsi/elx/efct/efct_hw.c:2532:27: sparse:    expected unsigned int [assigned] [usertype] sge_flags
   drivers/scsi/elx/efct/efct_hw.c:2532:27: sparse:    got restricted __le32 [usertype] dw2_flags
   drivers/scsi/elx/efct/efct_hw.c:2544:19: sparse: sparse: incorrect type in assignment (different base types) @@    expected unsigned int [assigned] [usertype] sge_flags @@    got ed int [assigned] [usertype] sge_flags @@
   drivers/scsi/elx/efct/efct_hw.c:2544:19: sparse:    expected unsigned int [assigned] [usertype] sge_flags
   drivers/scsi/elx/efct/efct_hw.c:2544:19: sparse:    got restricted __le32 [usertype] dw2_flags
   drivers/scsi/elx/efct/efct_hw.c:2676:19: sparse: sparse: incorrect type in assignment (different base types) @@    expected unsigned int [usertype] sge_flags @@    got restrunsigned int [usertype] sge_flags @@
   drivers/scsi/elx/efct/efct_hw.c:2676:19: sparse:    expected unsigned int [usertype] sge_flags
   drivers/scsi/elx/efct/efct_hw.c:2676:19: sparse:    got restricted __le32 [usertype] dw2_flags
   drivers/scsi/elx/efct/efct_hw.c:2680:27: sparse: sparse: incorrect type in assignment (different base types) @@    expected unsigned int [assigned] [usertype] sge_flags @@    got ed int [assigned] [usertype] sge_flags @@
   drivers/scsi/elx/efct/efct_hw.c:2680:27: sparse:    expected unsigned int [assigned] [usertype] sge_flags
   drivers/scsi/elx/efct/efct_hw.c:2680:27: sparse:    got restricted __le32 [usertype] dw2_flags
   drivers/scsi/elx/efct/efct_hw.c:2778:19: sparse: sparse: incorrect type in assignment (different base types) @@    expected unsigned int [usertype] sge_flags @@    got restrunsigned int [usertype] sge_flags @@
   drivers/scsi/elx/efct/efct_hw.c:2778:19: sparse:    expected unsigned int [usertype] sge_flags
   drivers/scsi/elx/efct/efct_hw.c:2778:19: sparse:    got restricted __le32 [usertype] dw2_flags
   drivers/scsi/elx/efct/efct_hw.c:2797:27: sparse: sparse: incorrect type in assignment (different base types) @@    expected unsigned int [assigned] [usertype] sge_flags @@    got ed int [assigned] [usertype] sge_flags @@
   drivers/scsi/elx/efct/efct_hw.c:2797:27: sparse:    expected unsigned int [assigned] [usertype] sge_flags
   drivers/scsi/elx/efct/efct_hw.c:2797:27: sparse:    got restricted __le32 [usertype] dw2_flags
   drivers/scsi/elx/efct/efct_hw.c:2854:19: sparse: sparse: incorrect type in assignment (different base types) @@    expected unsigned int [usertype] sge_flags @@    got restrunsigned int [usertype] sge_flags @@
   drivers/scsi/elx/efct/efct_hw.c:2854:19: sparse:    expected unsigned int [usertype] sge_flags
   drivers/scsi/elx/efct/efct_hw.c:2854:19: sparse:    got restricted __le32 [usertype] dw2_flags
   drivers/scsi/elx/efct/efct_hw.c:2875:27: sparse: sparse: incorrect type in assignment (different base types) @@    expected unsigned int [assigned] [usertype] sge_flags @@    got ed int [assigned] [usertype] sge_flags @@
   drivers/scsi/elx/efct/efct_hw.c:2875:27: sparse:    expected unsigned int [assigned] [usertype] sge_flags
   drivers/scsi/elx/efct/efct_hw.c:2875:27: sparse:    got restricted __le32 [usertype] dw2_flags
>> drivers/scsi/elx/efct/efct_hw.c:4213:20: sparse: sparse: incorrect type in assignment (different base types) @@    expected unsigned int [usertype] sge0_flags @@    got restrunsigned int [usertype] sge0_flags @@
>> drivers/scsi/elx/efct/efct_hw.c:4213:20: sparse:    expected unsigned int [usertype] sge0_flags
   drivers/scsi/elx/efct/efct_hw.c:4213:20: sparse:    got restricted __le32 [usertype] dw2_flags
>> drivers/scsi/elx/efct/efct_hw.c:4214:20: sparse: sparse: incorrect type in assignment (different base types) @@    expected unsigned int [usertype] sge1_flags @@    got restrunsigned int [usertype] sge1_flags @@
>> drivers/scsi/elx/efct/efct_hw.c:4214:20: sparse:    expected unsigned int [usertype] sge1_flags
   drivers/scsi/elx/efct/efct_hw.c:4214:20: sparse:    got restricted __le32 [usertype] dw2_flags
>> drivers/scsi/elx/efct/efct_hw.c:4338:29: sparse: sparse: cast from restricted __be16
   drivers/scsi/elx/efct/efct_hw.c:4339:29: sparse: sparse: cast from restricted __be16
--
>> drivers/scsi/elx/efct/efct_unsol.c:910:28: sparse: sparse: incorrect type in assignment (different base types) @@    expected restricted __be16 [assigned] [usertype] ba_low_seq_cnt @@    got e16 [assigned] [usertype] ba_low_seq_cnt @@
>> drivers/scsi/elx/efct/efct_unsol.c:910:28: sparse:    expected restricted __be16 [assigned] [usertype] ba_low_seq_cnt
>> drivers/scsi/elx/efct/efct_unsol.c:910:28: sparse:    got unsigned short [usertype]
>> drivers/scsi/elx/efct/efct_unsol.c:911:29: sparse: sparse: incorrect type in assignment (different base types) @@    expected restricted __be16 [assigned] [usertype] ba_high_seq_cnt @@    got e16 [assigned] [usertype] ba_high_seq_cnt @@
>> drivers/scsi/elx/efct/efct_unsol.c:911:29: sparse:    expected restricted __be16 [assigned] [usertype] ba_high_seq_cnt
   drivers/scsi/elx/efct/efct_unsol.c:911:29: sparse:    got unsigned short [usertype]
--
>> drivers/scsi/elx/libefc_sli/sli4.c:152:31: sparse: sparse: incorrect type in assignment (different base types) @@    expected unsigned int [usertype] dw3_version @@    got restrunsigned int [usertype] dw3_version @@
>> drivers/scsi/elx/libefc_sli/sli4.c:152:31: sparse:    expected unsigned int [usertype] dw3_version
>> drivers/scsi/elx/libefc_sli/sli4.c:152:31: sparse:    got restricted __le32 [usertype]
>> drivers/scsi/elx/libefc_sli/sli4.c:153:18: sparse: sparse: incorrect type in assignment (different base types) @@    expected unsigned long [assigned] [usertype] cmd_size @@    got d long [assigned] [usertype] cmd_size @@
>> drivers/scsi/elx/libefc_sli/sli4.c:153:18: sparse:    expected unsigned long [assigned] [usertype] cmd_size
   drivers/scsi/elx/libefc_sli/sli4.c:153:18: sparse:    got restricted __le32 [usertype]
>> drivers/scsi/elx/libefc_sli/sli4.c:155:34: sparse: sparse: incorrect type in assignment (different base types) @@    expected restricted __le32 [usertype] request_length @@    got unsignerestricted __le32 [usertype] request_length @@
>> drivers/scsi/elx/libefc_sli/sli4.c:155:34: sparse:    expected restricted __le32 [usertype] request_length
>> drivers/scsi/elx/libefc_sli/sli4.c:155:34: sparse:    got unsigned long [assigned] [usertype] cmd_size
   drivers/scsi/elx/libefc_sli/sli4.c:275:37: sparse: sparse: incorrect type in assignment (different base types) @@    expected unsigned int [usertype] dw3_version @@    got restrunsigned int [usertype] dw3_version @@
   drivers/scsi/elx/libefc_sli/sli4.c:275:37: sparse:    expected unsigned int [usertype] dw3_version
   drivers/scsi/elx/libefc_sli/sli4.c:275:37: sparse:    got restricted __le32 [usertype]
   drivers/scsi/elx/libefc_sli/sli4.c:416:37: sparse: sparse: incorrect type in assignment (different base types) @@    expected unsigned int [usertype] dw3_version @@    got restrunsigned int [usertype] dw3_version @@
   drivers/scsi/elx/libefc_sli/sli4.c:416:37: sparse:    expected unsigned int [usertype] dw3_version
   drivers/scsi/elx/libefc_sli/sli4.c:416:37: sparse:    got restricted __le32 [usertype]
   drivers/scsi/elx/libefc_sli/sli4.c:550:29: sparse: sparse: incorrect type in assignment (different base types) @@    expected unsigned int [usertype] dw3_version @@    got restrunsigned int [usertype] dw3_version @@
   drivers/scsi/elx/libefc_sli/sli4.c:550:29: sparse:    expected unsigned int [usertype] dw3_version
   drivers/scsi/elx/libefc_sli/sli4.c:550:29: sparse:    got restricted __le32 [usertype]
   drivers/scsi/elx/libefc_sli/sli4.c:748:29: sparse: sparse: incorrect type in assignment (different base types) @@    expected unsigned int [usertype] dw3_version @@    got restrunsigned int [usertype] dw3_version @@
   drivers/scsi/elx/libefc_sli/sli4.c:748:29: sparse:    expected unsigned int [usertype] dw3_version
   drivers/scsi/elx/libefc_sli/sli4.c:748:29: sparse:    got restricted __le32 [usertype]
   drivers/scsi/elx/libefc_sli/sli4.c:846:32: sparse: sparse: incorrect type in assignment (different base types) @@    expected unsigned int [usertype] dw3_version @@    got restrunsigned int [usertype] dw3_version @@
   drivers/scsi/elx/libefc_sli/sli4.c:846:32: sparse:    expected unsigned int [usertype] dw3_version
   drivers/scsi/elx/libefc_sli/sli4.c:846:32: sparse:    got restricted __le32 [usertype]
>> drivers/scsi/elx/libefc_sli/sli4.c:1078:33: sparse: sparse: Using plain integer as NULL pointer
   drivers/scsi/elx/libefc_sli/sli4.c:1526:33: sparse: sparse: Using plain integer as NULL pointer
>> drivers/scsi/elx/libefc_sli/sli4.h:3029:17: sparse: sparse: invalid assignment: &=
>> drivers/scsi/elx/libefc_sli/sli4.h:3029:17: sparse:    left side has type unsigned int
>> drivers/scsi/elx/libefc_sli/sli4.h:3029:17: sparse:    right side has type restricted __le32
   drivers/scsi/elx/libefc_sli/sli4.h:3030:17: sparse: sparse: invalid assignment: |=
   drivers/scsi/elx/libefc_sli/sli4.h:3030:17: sparse:    left side has type unsigned int
>> drivers/scsi/elx/libefc_sli/sli4.h:3030:17: sparse:    right side has type restricted __le16
>> drivers/scsi/elx/libefc_sli/sli4.c:2486:47: sparse: sparse: restricted __le32 degrades to integer
   drivers/scsi/elx/libefc_sli/sli4.c:2487:48: sparse: sparse: restricted __le32 degrades to integer
>> drivers/scsi/elx/libefc_sli/sli4.c:2486:38: sparse: sparse: incorrect type in assignment (different base types) @@    expected restricted __le16 [usertype] payload_offset_length @@    got  [usertype] payload_offset_length @@
>> drivers/scsi/elx/libefc_sli/sli4.c:2486:38: sparse:    expected restricted __le16 [usertype] payload_offset_length
>> drivers/scsi/elx/libefc_sli/sli4.c:2486:38: sparse:    got unsigned int
>> drivers/scsi/elx/libefc_sli/sli4.c:2589:41: sparse: sparse: cast from restricted __le32
>> drivers/scsi/elx/libefc_sli/sli4.c:2591:27: sparse: sparse: incorrect type in assignment (different base types) @@    expected unsigned int [usertype] sge_flags @@    got restrunsigned int [usertype] sge_flags @@
>> drivers/scsi/elx/libefc_sli/sli4.c:2591:27: sparse:    expected unsigned int [usertype] sge_flags
>> drivers/scsi/elx/libefc_sli/sli4.c:2591:27: sparse:    got restricted __le32 [usertype] dw2_flags
>> drivers/scsi/elx/libefc_sli/sli4.c:2594:34: sparse: sparse: incorrect type in assignment (different base types) @@    expected restricted __le32 [usertype] dw2_flags @@    got unsignrestricted __le32 [usertype] dw2_flags @@
>> drivers/scsi/elx/libefc_sli/sli4.c:2594:34: sparse:    expected restricted __le32 [usertype] dw2_flags
>> drivers/scsi/elx/libefc_sli/sli4.c:2594:34: sparse:    got unsigned int [assigned] [usertype] sge_flags
   drivers/scsi/elx/libefc_sli/sli4.c:2597:47: sparse: sparse: restricted __le32 degrades to integer
   drivers/scsi/elx/libefc_sli/sli4.c:2598:48: sparse: sparse: restricted __le32 degrades to integer
   drivers/scsi/elx/libefc_sli/sli4.c:2597:38: sparse: sparse: incorrect type in assignment (different base types) @@    expected restricted __le16 [usertype] payload_offset_length @@    got  [usertype] payload_offset_length @@
   drivers/scsi/elx/libefc_sli/sli4.c:2597:38: sparse:    expected restricted __le16 [usertype] payload_offset_length
   drivers/scsi/elx/libefc_sli/sli4.c:2597:38: sparse:    got unsigned int
   drivers/scsi/elx/libefc_sli/sli4.c:2719:41: sparse: sparse: cast from restricted __le32
   drivers/scsi/elx/libefc_sli/sli4.c:2720:27: sparse: sparse: incorrect type in assignment (different base types) @@    expected unsigned int [usertype] sge_flags @@    got restrunsigned int [usertype] sge_flags @@
   drivers/scsi/elx/libefc_sli/sli4.c:2720:27: sparse:    expected unsigned int [usertype] sge_flags
   drivers/scsi/elx/libefc_sli/sli4.c:2720:27: sparse:    got restricted __le32 [usertype] dw2_flags
   drivers/scsi/elx/libefc_sli/sli4.c:2723:34: sparse: sparse: incorrect type in assignment (different base types) @@    expected restricted __le32 [usertype] dw2_flags @@    got unsignrestricted __le32 [usertype] dw2_flags @@
   drivers/scsi/elx/libefc_sli/sli4.c:2723:34: sparse:    expected restricted __le32 [usertype] dw2_flags
   drivers/scsi/elx/libefc_sli/sli4.c:2723:34: sparse:    got unsigned int [assigned] [usertype] sge_flags
   drivers/scsi/elx/libefc_sli/sli4.c:2726:48: sparse: sparse: restricted __le32 degrades to integer
   drivers/scsi/elx/libefc_sli/sli4.c:2727:48: sparse: sparse: restricted __le32 degrades to integer
   drivers/scsi/elx/libefc_sli/sli4.c:2726:39: sparse: sparse: incorrect type in assignment (different base types) @@    expected restricted __le16 [usertype] payload_offset_length @@    got  [usertype] payload_offset_length @@
   drivers/scsi/elx/libefc_sli/sli4.c:2726:39: sparse:    expected restricted __le16 [usertype] payload_offset_length
   drivers/scsi/elx/libefc_sli/sli4.c:2726:39: sparse:    got unsigned int
>> drivers/scsi/elx/libefc_sli/sli4.c:2930:35: sparse: sparse: incorrect type in assignment (different base types) @@    expected unsigned int @@    got restricted __le32unsigned int @@
>> drivers/scsi/elx/libefc_sli/sli4.c:2930:35: sparse:    expected unsigned int
   drivers/scsi/elx/libefc_sli/sli4.c:2930:35: sparse:    got restricted __le32 [usertype]
   drivers/scsi/elx/libefc_sli/sli4.c:3083:34: sparse: sparse: incorrect type in assignment (different base types) @@    expected unsigned int @@    got restricted __le32unsigned int @@
   drivers/scsi/elx/libefc_sli/sli4.c:3083:34: sparse:    expected unsigned int
   drivers/scsi/elx/libefc_sli/sli4.c:3083:34: sparse:    got restricted __le32 [usertype]
   drivers/scsi/elx/libefc_sli/sli4.c:3159:47: sparse: sparse: restricted __le32 degrades to integer
   drivers/scsi/elx/libefc_sli/sli4.c:3245:35: sparse: sparse: incorrect type in assignment (different base types) @@    expected unsigned int @@    got restricted __le32unsigned int @@
   drivers/scsi/elx/libefc_sli/sli4.c:3245:35: sparse:    expected unsigned int
   drivers/scsi/elx/libefc_sli/sli4.c:3245:35: sparse:    got restricted __le32 [usertype]
>> drivers/scsi/elx/libefc_sli/sli4.c:3423:19: sparse: sparse: incorrect type in assignment (different base types) @@    expected restricted __le16 [usertype] cq_id @@    got e] cq_id @@
>> drivers/scsi/elx/libefc_sli/sli4.c:3423:19: sparse:    expected restricted __le16 [usertype] cq_id
>> drivers/scsi/elx/libefc_sli/sli4.c:3423:19: sparse:    got int
>> drivers/scsi/elx/libefc_sli/sli4.c:3471:37: sparse: sparse: cast from restricted __le16
   drivers/scsi/elx/libefc_sli/sli4.c:3472:36: sparse: sparse: cast from restricted __le16
   drivers/scsi/elx/libefc_sli/sli4.c:3482:22: sparse: sparse: cast from restricted __le16
   drivers/scsi/elx/libefc_sli/sli4.c:3483:22: sparse: sparse: cast from restricted __le16
>> drivers/scsi/elx/libefc_sli/sli4.c:3577:42: sparse: sparse: incorrect type in assignment (different base types) @@    expected restricted __le32 [usertype] els_response_payload_length @@    got icted __le32 [usertype] els_response_payload_length @@
>> drivers/scsi/elx/libefc_sli/sli4.c:3577:42: sparse:    expected restricted __le32 [usertype] els_response_payload_length
>> drivers/scsi/elx/libefc_sli/sli4.c:3577:42: sparse:    got unsigned int [usertype] rsp_len
>> drivers/scsi/elx/libefc_sli/sli4.c:3681:38: sparse: sparse: invalid assignment: |=
>> drivers/scsi/elx/libefc_sli/sli4.c:3681:38: sparse:    left side has type restricted __le32
>> drivers/scsi/elx/libefc_sli/sli4.c:3681:38: sparse:    right side has type unsigned int
   drivers/scsi/elx/libefc_sli/sli4.c:3718:46: sparse: sparse: invalid assignment: |=
   drivers/scsi/elx/libefc_sli/sli4.c:3718:46: sparse:    left side has type restricted __le32
   drivers/scsi/elx/libefc_sli/sli4.c:3718:46: sparse:    right side has type unsigned int
   drivers/scsi/elx/libefc_sli/sli4.c:3754:25: sparse: sparse: invalid assignment: |=
>> drivers/scsi/elx/libefc_sli/sli4.c:3754:25: sparse:    left side has type restricted __le16
>> drivers/scsi/elx/libefc_sli/sli4.c:3754:25: sparse:    right side has type int
   drivers/scsi/elx/libefc_sli/sli4.c:3755:25: sparse: sparse: invalid assignment: |=
   drivers/scsi/elx/libefc_sli/sli4.c:3755:25: sparse:    left side has type restricted __le16
   drivers/scsi/elx/libefc_sli/sli4.c:3755:25: sparse:    right side has type int
>> drivers/scsi/elx/libefc_sli/sli4.c:4001:23: sparse: sparse: incorrect type in assignment (different base types) @@    expected unsigned short [usertype] @@    got resunsigned short [usertype] @@
>> drivers/scsi/elx/libefc_sli/sli4.c:4001:23: sparse:    expected unsigned short [usertype]
>> drivers/scsi/elx/libefc_sli/sli4.c:4001:23: sparse:    got restricted __le16 [usertype] rq_id
>> drivers/scsi/elx/libefc_sli/sli4.c:4863:50: sparse: sparse: incorrect type in assignment (different base types) @@    expected restricted __le32 [usertype] available_length_dword @@    got restricted __le32 [usertype] available_length_dword @@
>> drivers/scsi/elx/libefc_sli/sli4.c:4863:50: sparse:    expected restricted __le32 [usertype] available_length_dword
>> drivers/scsi/elx/libefc_sli/sli4.c:4863:50: sparse:    got restricted __le16 [usertype]
   drivers/scsi/elx/libefc_sli/sli4.c:4993:43: sparse: sparse: cast from restricted __le16
   drivers/scsi/elx/libefc_sli/sli4.c:4996:43: sparse: sparse: cast from restricted __le16
   drivers/scsi/elx/libefc_sli/sli4.c:4999:43: sparse: sparse: cast from restricted __le16
   drivers/scsi/elx/libefc_sli/sli4.c:5002:43: sparse: sparse: cast from restricted __le16
   drivers/scsi/elx/libefc_sli/sli4.c:5056:47: sparse: sparse: cast from restricted __le16
   drivers/scsi/elx/libefc_sli/sli4.c:5059:47: sparse: sparse: cast from restricted __le16
   drivers/scsi/elx/libefc_sli/sli4.c:5062:47: sparse: sparse: cast from restricted __le16
   drivers/scsi/elx/libefc_sli/sli4.c:5065:47: sparse: sparse: cast from restricted __le16
   drivers/scsi/elx/libefc_sli/sli4.c:5176:30: sparse: sparse: invalid assignment: |=
   drivers/scsi/elx/libefc_sli/sli4.c:5176:30: sparse:    left side has type restricted __le16
   drivers/scsi/elx/libefc_sli/sli4.c:5176:30: sparse:    right side has type int
   drivers/scsi/elx/libefc_sli/sli4.c:5663:33: sparse: sparse: incorrect type in assignment (different base types) @@    expected unsigned int [usertype] dw3_version @@    got restrunsigned int [usertype] dw3_version @@
   drivers/scsi/elx/libefc_sli/sli4.c:5663:33: sparse:    expected unsigned int [usertype] dw3_version
   drivers/scsi/elx/libefc_sli/sli4.c:5663:33: sparse:    got restricted __le32 [usertype]
>> drivers/scsi/elx/libefc_sli/sli4.c:7366:53: sparse: sparse: incorrect type in assignment (different base types) @@    expected restricted __le32 [usertype] page1_low @@    got icted __le32 [usertype] page1_low @@
>> drivers/scsi/elx/libefc_sli/sli4.c:7366:53: sparse:    expected restricted __le32 [usertype] page1_low
>> drivers/scsi/elx/libefc_sli/sli4.c:7366:53: sparse:    got unsigned int [usertype]
>> drivers/scsi/elx/libefc_sli/sli4.c:7368:54: sparse: sparse: incorrect type in assignment (different base types) @@    expected restricted __le32 [usertype] page1_high @@    got icted __le32 [usertype] page1_high @@
>> drivers/scsi/elx/libefc_sli/sli4.c:7368:54: sparse:    expected restricted __le32 [usertype] page1_high
   drivers/scsi/elx/libefc_sli/sli4.c:7368:54: sparse:    got unsigned int [usertype]
>> drivers/scsi/elx/libefc_sli/sli4.c:7404:22: sparse: sparse: incorrect type in assignment (different base types) @@    expected unsigned int [usertype] payload_size @@    got restrunsigned int [usertype] payload_size @@
>> drivers/scsi/elx/libefc_sli/sli4.c:7404:22: sparse:    expected unsigned int [usertype] payload_size
   drivers/scsi/elx/libefc_sli/sli4.c:7404:22: sparse:    got restricted __le32 [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

  parent reply	other threads:[~2019-10-26 14:13 UTC|newest]

Thread overview: 54+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-10-23 21:55 [PATCH 00/32] [NEW] efct: Broadcom (Emulex) FC Target driver James Smart
2019-10-23 21:55 ` [PATCH 01/32] elx: libefc_sli: SLI-4 register offsets and field definitions James Smart
2019-10-24 16:22   ` Daniel Wagner
2019-10-25 23:04     ` James Smart
2019-10-23 21:55 ` [PATCH 02/32] elx: libefc_sli: SLI Descriptors and Queue entries James Smart
2019-10-25  9:59   ` Daniel Wagner
2019-10-25 23:00     ` James Smart
2019-10-23 21:55 ` [PATCH 03/32] elx: libefc_sli: Data structures and defines for mbox commands James Smart
2019-10-25 11:19   ` Daniel Wagner
2019-10-25 12:20     ` Steffen Maier
2019-10-25 22:10       ` James Smart
2019-10-25 22:42     ` James Smart
2019-10-23 21:55 ` [PATCH 04/32] elx: libefc_sli: queue create/destroy/parse routines James Smart
2019-10-25 15:35   ` Daniel Wagner
2019-10-25 22:24     ` James Smart
2019-10-23 21:55 ` [PATCH 05/32] elx: libefc_sli: Populate and post different WQEs James Smart
2019-10-23 21:55 ` [PATCH 06/32] elx: libefc_sli: bmbx routines and SLI config commands James Smart
2019-10-23 21:55 ` [PATCH 07/32] elx: libefc_sli: APIs to setup SLI library James Smart
2019-10-23 21:55 ` [PATCH 08/32] elx: libefc: Generic state machine framework James Smart
2019-10-23 21:55 ` [PATCH 09/32] elx: libefc: Emulex FC discovery library APIs and definitions James Smart
2019-10-23 21:55 ` [PATCH 10/32] elx: libefc: FC Domain state machine interfaces James Smart
2019-10-23 21:55 ` [PATCH 11/32] elx: libefc: SLI and FC PORT " James Smart
2019-10-23 21:55 ` [PATCH 12/32] elx: libefc: Remote node " James Smart
2019-10-23 21:55 ` [PATCH 13/32] elx: libefc: Fabric " James Smart
2019-10-23 21:55 ` [PATCH 14/32] elx: libefc: FC node ELS and state handling James Smart
2019-10-23 21:55 ` [PATCH 15/32] elx: efct: Data structures and defines for hw operations James Smart
2019-10-23 21:55 ` [PATCH 16/32] elx: efct: Driver initialization routines James Smart
2019-10-23 21:55 ` [PATCH 17/32] elx: efct: Hardware queues creation and deletion James Smart
2019-10-23 21:55 ` [PATCH 18/32] elx: efct: RQ buffer, memory pool allocation and deallocation APIs James Smart
2019-10-23 21:55 ` [PATCH 19/32] elx: efct: Hardware IO and SGL initialization James Smart
2019-10-23 21:55 ` [PATCH 20/32] elx: efct: Hardware queues processing James Smart
2019-10-23 21:55 ` [PATCH 21/32] elx: efct: Unsolicited FC frame processing routines James Smart
2019-10-23 21:55 ` [PATCH 22/32] elx: efct: Extended link Service IO handling James Smart
2019-10-23 21:55 ` [PATCH 23/32] elx: efct: SCSI IO handling routines James Smart
2019-10-23 21:55 ` [PATCH 24/32] elx: efct: LIO backend interface routines James Smart
2019-10-24 22:27   ` Bart Van Assche
2019-10-28 17:49     ` James Smart
2019-10-28 18:31       ` Bart Van Assche
2019-10-23 21:55 ` [PATCH 25/32] elx: efct: Hardware IO submission routines James Smart
2019-10-23 21:55 ` [PATCH 26/32] elx: efct: link statistics and SFP data James Smart
2019-10-23 21:55 ` [PATCH 27/32] elx: efct: xport and hardware teardown routines James Smart
2019-10-23 21:55 ` [PATCH 28/32] elx: efct: IO timeout handling routines James Smart
2019-10-23 21:55 ` [PATCH 29/32] elx: efct: Firmware update, async link processing James Smart
2019-10-23 21:55 ` [PATCH 30/32] elx: efct: scsi_transport_fc host interface support James Smart
2019-10-23 21:55 ` [PATCH 31/32] elx: efct: Add Makefile and Kconfig for efct driver James Smart
2019-10-25 15:55   ` Daniel Wagner
2019-10-25 22:47     ` James Smart
2019-10-23 21:55 ` [PATCH 32/32] elx: efct: Tie into kernel Kconfig and build process James Smart
2019-10-26  0:34   ` kbuild test robot
2019-10-26  0:39     ` Randy Dunlap
2019-10-26 14:13   ` kbuild test robot [this message]
2019-10-26 14:13   ` [RFC PATCH] elx: efct: efct_libefc_templ can be static kbuild test robot
2019-10-25 15:56 ` [PATCH 00/32] [NEW] efct: Broadcom (Emulex) FC Target driver Daniel Wagner
2019-10-25 22:31   ` James Smart

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=201910262236.pFVb5hph%lkp@intel.com \
    --to=lkp@intel.com \
    --cc=jsmart2021@gmail.com \
    --cc=kbuild-all@lists.01.org \
    --cc=linux-scsi@vger.kernel.org \
    --cc=ram.vegesna@broadcom.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox