From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 2123EA40 for ; Sat, 13 May 2023 04:38:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1683952689; x=1715488689; h=date:from:to:cc:subject:message-id:mime-version; bh=pvHRQZVyOX3HZKiCmVdHbIXAm0jC3Adto9G2qKc1o5U=; b=Pyv/HADi6gVbj5ganseUYAn1EBiNMwd80YXVQqA9GtAJKfZpM40GNXaO HTXbWJVIEKjyQ8l0NcwPCeEL3tmmxguUIcDc4O1hEPnLHwYsqtpLCzY2S ddysOznMraOIwgZAhF6EHfT0IxnR9gaDlFVwMYQWeuj571+fnAd4Rwbih Ezwht0I7mooHsXnd1FCCHPrpFWJYrQFvnUhOWkyMvVypYYRWEZSh4LBFS RkZGVPZ4jpb/Sk5wLT/mdcgyxyU7YizkH66cLQVw3rBLWf4X4LOWu3UhL wnw/0lQtATopRP5sp8wFC21pjk8hqm2x0fbK/3uT4jNzq2nFtcvOlYMYh Q==; X-IronPort-AV: E=McAfee;i="6600,9927,10708"; a="330542635" X-IronPort-AV: E=Sophos;i="5.99,271,1677571200"; d="scan'208";a="330542635" Received: from orsmga001.jf.intel.com ([10.7.209.18]) by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 12 May 2023 21:38:05 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10708"; a="733270094" X-IronPort-AV: E=Sophos;i="5.99,271,1677571200"; d="scan'208";a="733270094" Received: from lkp-server01.sh.intel.com (HELO dea6d5a4f140) ([10.239.97.150]) by orsmga001.jf.intel.com with ESMTP; 12 May 2023 21:38:04 -0700 Received: from kbuild by dea6d5a4f140 with local (Exim 4.96) (envelope-from ) id 1pxh19-0005K8-1h; Sat, 13 May 2023 04:38:03 +0000 Date: Sat, 13 May 2023 12:37:37 +0800 From: kernel test robot To: Linus Walleij Cc: oe-kbuild-all@lists.linux.dev, linux-kernel@vger.kernel.org, Arnd Bergmann Subject: drivers/infiniband/hw/vmw_pvrdma/pvrdma.h:301:16: sparse: sparse: incorrect type in argument 1 (different base types) Message-ID: <202305131223.Bdo5IFiE-lkp@intel.com> Precedence: bulk X-Mailing-List: oe-kbuild-all@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 9a48d604672220545d209e9996c2a1edbb5637f6 commit: 437b6b35362b206fdf881fe6dea76720eedb6d25 parisc: Use the generic IO helpers date: 8 months ago config: parisc-randconfig-s041-20230513 (https://download.01.org/0day-ci/archive/20230513/202305131223.Bdo5IFiE-lkp@intel.com/config) compiler: hppa-linux-gcc (GCC) 12.1.0 reproduce: wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # apt-get install sparse # sparse version: v0.6.4-39-gce1a6720-dirty # https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=437b6b35362b206fdf881fe6dea76720eedb6d25 git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git git fetch --no-tags linus master git checkout 437b6b35362b206fdf881fe6dea76720eedb6d25 # save the config file mkdir build_dir && cp config build_dir/.config COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' O=build_dir ARCH=parisc olddefconfig COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' O=build_dir ARCH=parisc SHELL=/bin/bash drivers/infiniband/ If you fix the issue, kindly add following tag where applicable | Reported-by: kernel test robot | Link: https://lore.kernel.org/oe-kbuild-all/202305131223.Bdo5IFiE-lkp@intel.com/ sparse warnings: (new ones prefixed by >>) drivers/infiniband/hw/vmw_pvrdma/pvrdma_cmd.c: note: in included file: >> drivers/infiniband/hw/vmw_pvrdma/pvrdma.h:301:16: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected unsigned int [usertype] value @@ got restricted __le32 [usertype] @@ drivers/infiniband/hw/vmw_pvrdma/pvrdma.h:301:16: sparse: expected unsigned int [usertype] value drivers/infiniband/hw/vmw_pvrdma/pvrdma.h:301:16: sparse: got restricted __le32 [usertype] drivers/infiniband/hw/vmw_pvrdma/pvrdma.h:306:16: sparse: sparse: cast to restricted __le32 drivers/infiniband/hw/vmw_pvrdma/pvrdma.h:306:16: sparse: sparse: cast to restricted __le32 drivers/infiniband/hw/vmw_pvrdma/pvrdma.h:306:16: sparse: sparse: cast to restricted __le32 drivers/infiniband/hw/vmw_pvrdma/pvrdma.h:306:16: sparse: sparse: cast to restricted __le32 drivers/infiniband/hw/vmw_pvrdma/pvrdma.h:306:16: sparse: sparse: cast to restricted __le32 drivers/infiniband/hw/vmw_pvrdma/pvrdma.h:306:16: sparse: sparse: cast to restricted __le32 -- drivers/infiniband/hw/vmw_pvrdma/pvrdma_main.c: note: in included file: drivers/infiniband/hw/vmw_pvrdma/pvrdma.h:306:16: sparse: sparse: cast to restricted __le32 drivers/infiniband/hw/vmw_pvrdma/pvrdma.h:306:16: sparse: sparse: cast to restricted __le32 drivers/infiniband/hw/vmw_pvrdma/pvrdma.h:306:16: sparse: sparse: cast to restricted __le32 drivers/infiniband/hw/vmw_pvrdma/pvrdma.h:306:16: sparse: sparse: cast to restricted __le32 drivers/infiniband/hw/vmw_pvrdma/pvrdma.h:306:16: sparse: sparse: cast to restricted __le32 drivers/infiniband/hw/vmw_pvrdma/pvrdma.h:306:16: sparse: sparse: cast to restricted __le32 >> drivers/infiniband/hw/vmw_pvrdma/pvrdma.h:301:16: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected unsigned int [usertype] value @@ got restricted __le32 [usertype] @@ drivers/infiniband/hw/vmw_pvrdma/pvrdma.h:301:16: sparse: expected unsigned int [usertype] value drivers/infiniband/hw/vmw_pvrdma/pvrdma.h:301:16: sparse: got restricted __le32 [usertype] >> drivers/infiniband/hw/vmw_pvrdma/pvrdma.h:301:16: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected unsigned int [usertype] value @@ got restricted __le32 [usertype] @@ drivers/infiniband/hw/vmw_pvrdma/pvrdma.h:301:16: sparse: expected unsigned int [usertype] value drivers/infiniband/hw/vmw_pvrdma/pvrdma.h:301:16: sparse: got restricted __le32 [usertype] >> drivers/infiniband/hw/vmw_pvrdma/pvrdma.h:301:16: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected unsigned int [usertype] value @@ got restricted __le32 [usertype] @@ drivers/infiniband/hw/vmw_pvrdma/pvrdma.h:301:16: sparse: expected unsigned int [usertype] value drivers/infiniband/hw/vmw_pvrdma/pvrdma.h:301:16: sparse: got restricted __le32 [usertype] drivers/infiniband/hw/vmw_pvrdma/pvrdma.h:306:16: sparse: sparse: cast to restricted __le32 drivers/infiniband/hw/vmw_pvrdma/pvrdma.h:306:16: sparse: sparse: cast to restricted __le32 drivers/infiniband/hw/vmw_pvrdma/pvrdma.h:306:16: sparse: sparse: cast to restricted __le32 drivers/infiniband/hw/vmw_pvrdma/pvrdma.h:306:16: sparse: sparse: cast to restricted __le32 drivers/infiniband/hw/vmw_pvrdma/pvrdma.h:306:16: sparse: sparse: cast to restricted __le32 drivers/infiniband/hw/vmw_pvrdma/pvrdma.h:306:16: sparse: sparse: cast to restricted __le32 drivers/infiniband/hw/vmw_pvrdma/pvrdma.h:306:16: sparse: sparse: cast to restricted __le32 drivers/infiniband/hw/vmw_pvrdma/pvrdma.h:306:16: sparse: sparse: cast to restricted __le32 drivers/infiniband/hw/vmw_pvrdma/pvrdma.h:306:16: sparse: sparse: cast to restricted __le32 drivers/infiniband/hw/vmw_pvrdma/pvrdma.h:306:16: sparse: sparse: cast to restricted __le32 drivers/infiniband/hw/vmw_pvrdma/pvrdma.h:306:16: sparse: sparse: cast to restricted __le32 drivers/infiniband/hw/vmw_pvrdma/pvrdma.h:306:16: sparse: sparse: cast to restricted __le32 >> drivers/infiniband/hw/vmw_pvrdma/pvrdma.h:301:16: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected unsigned int [usertype] value @@ got restricted __le32 [usertype] @@ drivers/infiniband/hw/vmw_pvrdma/pvrdma.h:301:16: sparse: expected unsigned int [usertype] value drivers/infiniband/hw/vmw_pvrdma/pvrdma.h:301:16: sparse: got restricted __le32 [usertype] >> drivers/infiniband/hw/vmw_pvrdma/pvrdma.h:301:16: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected unsigned int [usertype] value @@ got restricted __le32 [usertype] @@ drivers/infiniband/hw/vmw_pvrdma/pvrdma.h:301:16: sparse: expected unsigned int [usertype] value drivers/infiniband/hw/vmw_pvrdma/pvrdma.h:301:16: sparse: got restricted __le32 [usertype] >> drivers/infiniband/hw/vmw_pvrdma/pvrdma.h:301:16: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected unsigned int [usertype] value @@ got restricted __le32 [usertype] @@ drivers/infiniband/hw/vmw_pvrdma/pvrdma.h:301:16: sparse: expected unsigned int [usertype] value drivers/infiniband/hw/vmw_pvrdma/pvrdma.h:301:16: sparse: got restricted __le32 [usertype] drivers/infiniband/hw/vmw_pvrdma/pvrdma.h:306:16: sparse: sparse: cast to restricted __le32 drivers/infiniband/hw/vmw_pvrdma/pvrdma.h:306:16: sparse: sparse: cast to restricted __le32 drivers/infiniband/hw/vmw_pvrdma/pvrdma.h:306:16: sparse: sparse: cast to restricted __le32 drivers/infiniband/hw/vmw_pvrdma/pvrdma.h:306:16: sparse: sparse: cast to restricted __le32 drivers/infiniband/hw/vmw_pvrdma/pvrdma.h:306:16: sparse: sparse: cast to restricted __le32 drivers/infiniband/hw/vmw_pvrdma/pvrdma.h:306:16: sparse: sparse: cast to restricted __le32 >> drivers/infiniband/hw/vmw_pvrdma/pvrdma.h:301:16: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected unsigned int [usertype] value @@ got restricted __le32 [usertype] @@ drivers/infiniband/hw/vmw_pvrdma/pvrdma.h:301:16: sparse: expected unsigned int [usertype] value drivers/infiniband/hw/vmw_pvrdma/pvrdma.h:301:16: sparse: got restricted __le32 [usertype] vim +301 drivers/infiniband/hw/vmw_pvrdma/pvrdma.h 29c8d9eba550c6 Adit Ranadive 2016-10-02 298 29c8d9eba550c6 Adit Ranadive 2016-10-02 299 static inline void pvrdma_write_reg(struct pvrdma_dev *dev, u32 reg, u32 val) 29c8d9eba550c6 Adit Ranadive 2016-10-02 300 { 29c8d9eba550c6 Adit Ranadive 2016-10-02 @301 writel(cpu_to_le32(val), dev->regs + reg); 29c8d9eba550c6 Adit Ranadive 2016-10-02 302 } 29c8d9eba550c6 Adit Ranadive 2016-10-02 303 :::::: The code at line 301 was first introduced by commit :::::: 29c8d9eba550c6d73d17cc1618a9f5f2a7345aa1 IB: Add vmw_pvrdma driver :::::: TO: Adit Ranadive :::::: CC: Doug Ledford -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests