Hi Viswas, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on scsi/for-next] [also build test WARNING on mkp-scsi/for-next v5.12-rc4 next-20210324] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch] url: https://github.com/0day-ci/linux/commits/Viswas-G/pm80xx-updates/20210325-005709 base: https://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi.git for-next config: x86_64-randconfig-s021-20210324 (attached as .config) compiler: gcc-9 (Debian 9.3.0-22) 9.3.0 reproduce: # apt-get install sparse # sparse version: v0.6.3-277-gc089cd2d-dirty # https://github.com/0day-ci/linux/commit/47c563cdbc763e6fdd8e08f49e1ea5066bbf3c9b git remote add linux-review https://github.com/0day-ci/linux git fetch --no-tags linux-review Viswas-G/pm80xx-updates/20210325-005709 git checkout 47c563cdbc763e6fdd8e08f49e1ea5066bbf3c9b # save the attached .config to linux build tree make W=1 C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' ARCH=x86_64 If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot <lkp@xxxxxxxxx> sparse warnings: (new ones prefixed by >>) drivers/scsi/pm8001/pm8001_ctl.c:742:33: sparse: sparse: cast to restricted __be32 drivers/scsi/pm8001/pm8001_ctl.c:742:33: sparse: sparse: cast to restricted __be32 drivers/scsi/pm8001/pm8001_ctl.c:742:33: sparse: sparse: cast to restricted __be32 drivers/scsi/pm8001/pm8001_ctl.c:742:33: sparse: sparse: cast to restricted __be32 drivers/scsi/pm8001/pm8001_ctl.c:742:33: sparse: sparse: cast to restricted __be32 drivers/scsi/pm8001/pm8001_ctl.c:742:33: sparse: sparse: cast to restricted __be32 >> drivers/scsi/pm8001/pm8001_ctl.c:898:6: sparse: sparse: symbol 'mpiStateText' was not declared. Should it be static? Please review and possibly fold the followup patch. --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx
Attachment:
.config.gz
Description: application/gzip