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: <202411222217.SkVD8y1f-lkp@intel.com>
Date: Fri, 22 Nov 2024 22:59:25 +0800
From: kernel test robot <lkp@...el.com>
To: Alexey Romanov <avromanov@...utedevices.com>, minchan@...nel.org,
	senozhatsky@...omium.org, axboe@...nel.dk, terrelln@...com
Cc: oe-kbuild-all@...ts.linux.dev, linux-kernel@...r.kernel.org,
	linux-block@...r.kernel.org, kernel@...utedevices.com,
	Alexey Romanov <avromanov@...utedevices.com>
Subject: Re: [PATCH v1 3/3] zram: introduce crypto-api backend

Hi Alexey,

kernel test robot noticed the following build warnings:

[auto build test WARNING on axboe-block/for-next]
[also build test WARNING on linus/master v6.12 next-20241122]
[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/Alexey-Romanov/zram-pass-zcomp-instead-of-zcomp_params-to-create_context-method/20241121-135511
base:   https://git.kernel.org/pub/scm/linux/kernel/git/axboe/linux-block.git for-next
patch link:    https://lore.kernel.org/r/20241119122713.3294173-4-avromanov%40salutedevices.com
patch subject: [PATCH v1 3/3] zram: introduce crypto-api backend
config: x86_64-randconfig-012-20241122 (https://download.01.org/0day-ci/archive/20241122/202411222217.SkVD8y1f-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/20241122/202411222217.SkVD8y1f-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/202411222217.SkVD8y1f-lkp@intel.com/

All warnings (new ones prefixed by >>):

>> drivers/block/zram/zcomp.c:233:12: warning: 'init_crypto_api_backends' defined but not used [-Wunused-function]
     233 | static int init_crypto_api_backends(void)
         |            ^~~~~~~~~~~~~~~~~~~~~~~~


vim +/init_crypto_api_backends +233 drivers/block/zram/zcomp.c

   232	
 > 233	static int init_crypto_api_backends(void)
   234	{
   235		struct crypto_alg *alg;
   236		struct zcomp_ops *ops;
   237	
   238		list_for_each_entry(alg, &crypto_alg_list, cra_list) {
   239			if (!crypto_has_comp(alg->cra_name, 0, 0))
   240				continue;
   241	
   242			if (backend_enabled(alg->cra_name))
   243				continue;
   244	
   245			ops = get_backend_crypto_api(alg->cra_name);
   246			if (IS_ERR_OR_NULL(ops))
   247				return PTR_ERR(ops);
   248	
   249			list_add(&ops->list, &backends);
   250		}
   251	
   252		return 0;
   253	}
   254	

-- 
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