mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* drivers/infiniband/core/cm.c:1272:20: sparse: sparse: cast from restricted __be32
@ 2024-01-06 17:30 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2024-01-06 17:30 UTC (permalink / raw)
  To: Manivannan Sadhasivam
  Cc: oe-kbuild-all, linux-kernel, Bjorn Andersson, Konrad Dybcio,
	Krzysztof Kozlowski

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   95c8a35f1c017327eab3b6a2ff5c04255737c856
commit: 34bd6d227ffc99d8ce1ced20bbfceacb14651869 arm64: dts: qcom: sc8280xp-pmics: Add support for PMK8280 RESIN input
date:   1 year, 2 months ago
config: i386-randconfig-062-20240106 (https://download.01.org/0day-ci/archive/20240107/202401070142.Q4XXLJwy-lkp@intel.com/config)
compiler: gcc-12 (Debian 12.2.0-14) 12.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240107/202401070142.Q4XXLJwy-lkp@intel.com/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202401070142.Q4XXLJwy-lkp@intel.com/

sparse warnings: (new ones prefixed by >>)
>> drivers/infiniband/core/cm.c:1272:20: sparse: sparse: cast from restricted __be32

vim +1272 drivers/infiniband/core/cm.c

067b171b8679f9 Haggai Eran    2015-07-30  1265  
87a37ce9e400e4 Håkon Bugge    2018-07-04  1266  static __be64 cm_form_tid(struct cm_id_private *cm_id_priv)
a977049dacdef6 Hal Rosenstock 2005-07-27  1267  {
76039ac9095f5e Mark Zhang     2021-06-02  1268  	u64 hi_tid = 0, low_tid;
76039ac9095f5e Mark Zhang     2021-06-02  1269  
76039ac9095f5e Mark Zhang     2021-06-02  1270  	lockdep_assert_held(&cm_id_priv->lock);
a977049dacdef6 Hal Rosenstock 2005-07-27  1271  
87a37ce9e400e4 Håkon Bugge    2018-07-04 @1272  	low_tid = (u64)cm_id_priv->id.local_id;
76039ac9095f5e Mark Zhang     2021-06-02  1273  	if (!cm_id_priv->av.port)
76039ac9095f5e Mark Zhang     2021-06-02  1274  		return cpu_to_be64(low_tid);
76039ac9095f5e Mark Zhang     2021-06-02  1275  
76039ac9095f5e Mark Zhang     2021-06-02  1276  	spin_lock(&cm_id_priv->av.port->cm_dev->mad_agent_lock);
76039ac9095f5e Mark Zhang     2021-06-02  1277  	if (cm_id_priv->av.port->mad_agent)
76039ac9095f5e Mark Zhang     2021-06-02  1278  		hi_tid = ((u64)cm_id_priv->av.port->mad_agent->hi_tid) << 32;
76039ac9095f5e Mark Zhang     2021-06-02  1279  	spin_unlock(&cm_id_priv->av.port->cm_dev->mad_agent_lock);
a977049dacdef6 Hal Rosenstock 2005-07-27  1280  	return cpu_to_be64(hi_tid | low_tid);
a977049dacdef6 Hal Rosenstock 2005-07-27  1281  }
a977049dacdef6 Hal Rosenstock 2005-07-27  1282  

:::::: The code at line 1272 was first introduced by commit
:::::: 87a37ce9e400e40daee537ff95343e3c94743c6d IB/cm: Remove unused and erroneous msg sequence encoding

:::::: TO: Håkon Bugge <haakon.bugge@oracle.com>
:::::: CC: Jason Gunthorpe <jgg@mellanox.com>

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2024-01-06 17:30 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-01-06 17:30 drivers/infiniband/core/cm.c:1272:20: sparse: sparse: cast from restricted __be32 kernel test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®