lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <202511160711.Q6ytYvlG-lkp@intel.com>
Date: Sun, 16 Nov 2025 07:53:45 +0800
From: kernel test robot <lkp@...el.com>
To: quic_utiwari@...cinc.com, herbert@...dor.apana.org.au,
	thara.gopinath@...il.com, davem@...emloft.net
Cc: oe-kbuild-all@...ts.linux.dev, linux-crypto@...r.kernel.org,
	linux-arm-msm@...r.kernel.org, linux-kernel@...r.kernel.org,
	quic_neersoni@...cinc.com
Subject: Re: [PATCH v3] crypto: qce - Add runtime PM and interconnect
 bandwidth scaling support

Hi,

kernel test robot noticed the following build warnings:

[auto build test WARNING on herbert-cryptodev-2.6/master]
[also build test WARNING on herbert-crypto-2.6/master linus/master v6.18-rc5 next-20251114]
[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#_base_tree_information]

url:    https://github.com/intel-lab-lkp/linux/commits/quic_utiwari-quicinc-com/crypto-qce-Add-runtime-PM-and-interconnect-bandwidth-scaling-support/20251115-165032
base:   https://git.kernel.org/pub/scm/linux/kernel/git/herbert/cryptodev-2.6.git master
patch link:    https://lore.kernel.org/r/20251115084851.2750446-1-quic_utiwari%40quicinc.com
patch subject: [PATCH v3] crypto: qce - Add runtime PM and interconnect bandwidth scaling support
config: openrisc-allyesconfig (https://download.01.org/0day-ci/archive/20251116/202511160711.Q6ytYvlG-lkp@intel.com/config)
compiler: or1k-linux-gcc (GCC) 15.1.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20251116/202511160711.Q6ytYvlG-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@...el.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202511160711.Q6ytYvlG-lkp@intel.com/

All warnings (new ones prefixed by >>):

>> drivers/crypto/qce/core.c:295:12: warning: 'qce_runtime_resume' defined but not used [-Wunused-function]
     295 | static int qce_runtime_resume(struct device *dev)
         |            ^~~~~~~~~~~~~~~~~~
>> drivers/crypto/qce/core.c:286:12: warning: 'qce_runtime_suspend' defined but not used [-Wunused-function]
     286 | static int qce_runtime_suspend(struct device *dev)
         |            ^~~~~~~~~~~~~~~~~~~


vim +/qce_runtime_resume +295 drivers/crypto/qce/core.c

   285	
 > 286	static int qce_runtime_suspend(struct device *dev)
   287	{
   288		struct qce_device *qce = dev_get_drvdata(dev);
   289	
   290		icc_disable(qce->mem_path);
   291	
   292		return 0;
   293	}
   294	
 > 295	static int qce_runtime_resume(struct device *dev)
   296	{
   297		struct qce_device *qce = dev_get_drvdata(dev);
   298		int ret = 0;
   299	
   300		ret = icc_enable(qce->mem_path);
   301		if (ret)
   302			return ret;
   303	
   304		ret = icc_set_bw(qce->mem_path, QCE_DEFAULT_MEM_BANDWIDTH, QCE_DEFAULT_MEM_BANDWIDTH);
   305		if (ret)
   306			goto err_icc;
   307	
   308		return 0;
   309	
   310	err_icc:
   311		icc_disable(qce->mem_path);
   312		return ret;
   313	}
   314	

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ