All of lore.kernel.org
 help / color / mirror / Atom feed
* drivers/net/wireless/ath/ath11k/ce.c:375 ath11k_ce_srng_msi_ring_params_setup() error: uninitialized symbol 'addr_lo'.
@ 2024-12-05 19:36 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2024-12-05 19:36 UTC (permalink / raw)
  To: oe-kbuild; +Cc: lkp, Dan Carpenter

BCC: lkp@intel.com
CC: oe-kbuild-all@lists.linux.dev
CC: linux-kernel@vger.kernel.org
TO: Govind Singh <govinds@codeaurora.org>
CC: Kalle Valo <kvalo@codeaurora.org>

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   feffde684ac29a3b7aec82d2df850fbdbdee55e4
commit: c4eacabee22415194e8cc7e8dd4913897b058927 ath11k: configure copy engine msi address in CE srng
date:   4 years, 4 months ago
:::::: branch date: 2 days ago
:::::: commit date: 4 years, 4 months ago
config: i386-randconfig-141-20241120 (https://download.01.org/0day-ci/archive/20241206/202412060325.Pvm5LKPT-lkp@intel.com/config)
compiler: gcc-12 (Debian 12.2.0-14) 12.2.0

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>
| Reported-by: Dan Carpenter <error27@gmail.com>
| Closes: https://lore.kernel.org/r/202412060325.Pvm5LKPT-lkp@intel.com/

smatch warnings:
drivers/net/wireless/ath/ath11k/ce.c:375 ath11k_ce_srng_msi_ring_params_setup() error: uninitialized symbol 'addr_lo'.
drivers/net/wireless/ath/ath11k/ce.c:376 ath11k_ce_srng_msi_ring_params_setup() error: uninitialized symbol 'addr_hi'.

vim +/addr_lo +375 drivers/net/wireless/ath/ath11k/ce.c

d5c65159f28953 Kalle Valo   2019-11-23  355  
c4eacabee22415 Govind Singh 2020-08-14  356  static void ath11k_ce_srng_msi_ring_params_setup(struct ath11k_base *ab, u32 ce_id,
c4eacabee22415 Govind Singh 2020-08-14  357  						 struct hal_srng_params *ring_params)
c4eacabee22415 Govind Singh 2020-08-14  358  {
c4eacabee22415 Govind Singh 2020-08-14  359  	u32 msi_data_start;
c4eacabee22415 Govind Singh 2020-08-14  360  	u32 msi_data_count;
c4eacabee22415 Govind Singh 2020-08-14  361  	u32 msi_irq_start;
c4eacabee22415 Govind Singh 2020-08-14  362  	u32 addr_lo;
c4eacabee22415 Govind Singh 2020-08-14  363  	u32 addr_hi;
c4eacabee22415 Govind Singh 2020-08-14  364  	int ret;
c4eacabee22415 Govind Singh 2020-08-14  365  
c4eacabee22415 Govind Singh 2020-08-14  366  	ret = ath11k_get_user_msi_vector(ab, "CE",
c4eacabee22415 Govind Singh 2020-08-14  367  					 &msi_data_count, &msi_data_start,
c4eacabee22415 Govind Singh 2020-08-14  368  					 &msi_irq_start);
c4eacabee22415 Govind Singh 2020-08-14  369  
c4eacabee22415 Govind Singh 2020-08-14  370  	if (ret)
c4eacabee22415 Govind Singh 2020-08-14  371  		return;
c4eacabee22415 Govind Singh 2020-08-14  372  
c4eacabee22415 Govind Singh 2020-08-14  373  	ath11k_get_msi_address(ab, &addr_lo, &addr_hi);
c4eacabee22415 Govind Singh 2020-08-14  374  
c4eacabee22415 Govind Singh 2020-08-14 @375  	ring_params->msi_addr = addr_lo;
c4eacabee22415 Govind Singh 2020-08-14 @376  	ring_params->msi_addr |= (dma_addr_t)(((uint64_t)addr_hi) << 32);
c4eacabee22415 Govind Singh 2020-08-14  377  	ring_params->msi_data = (ce_id % msi_data_count) + msi_data_start;
c4eacabee22415 Govind Singh 2020-08-14  378  	ring_params->flags |= HAL_SRNG_FLAGS_MSI_INTR;
c4eacabee22415 Govind Singh 2020-08-14  379  }
c4eacabee22415 Govind Singh 2020-08-14  380  

-- 
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-12-05 19:37 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-12-05 19:36 drivers/net/wireless/ath/ath11k/ce.c:375 ath11k_ce_srng_msi_ring_params_setup() error: uninitialized symbol 'addr_lo' kernel test robot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.