llvm.lists.linux.dev archive mirror
 help / color / mirror / Atom feed
* Re: [PATCH v10 10/25] crypto: iaa - Rearchitect the iaa_crypto driver to be usable by zswap and zram.
       [not found] <20250704042323.10318-11-kanchana.p.sridhar@intel.com>
@ 2025-07-04 15:56 ` kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2025-07-04 15:56 UTC (permalink / raw)
  To: Kanchana P Sridhar, linux-kernel, linux-mm, hannes, yosry.ahmed,
	nphamcs, chengming.zhou, usamaarif642, ryan.roberts, 21cnbao,
	ying.huang, akpm, senozhatsky, linux-crypto, herbert, davem,
	clabbe, ardb, ebiggers, surenb, kristen.c.accardi, vinicius.gomes
  Cc: llvm, oe-kbuild-all, wajdi.k.feghali, vinodh.gopal,
	kanchana.p.sridhar

Hi Kanchana,

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 akpm-mm/mm-everything linus/master v6.16-rc4 next-20250704]
[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/Kanchana-P-Sridhar/crypto-iaa-Reorganize-the-iaa_crypto-driver-code/20250704-122613
base:   https://git.kernel.org/pub/scm/linux/kernel/git/herbert/cryptodev-2.6.git master
patch link:    https://lore.kernel.org/r/20250704042323.10318-11-kanchana.p.sridhar%40intel.com
patch subject: [PATCH v10 10/25] crypto: iaa - Rearchitect the iaa_crypto driver to be usable by zswap and zram.
config: x86_64-randconfig-004-20250704 (https://download.01.org/0day-ci/archive/20250705/202507050102.v288TUAS-lkp@intel.com/config)
compiler: clang version 20.1.7 (https://github.com/llvm/llvm-project 6146a88f60492b520a36f8f8f3231e15f3cc6082)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250705/202507050102.v288TUAS-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/202507050102.v288TUAS-lkp@intel.com/

All warnings (new ones prefixed by >>):

>> drivers/crypto/intel/iaa/iaa_crypto_main.c:2347:30: warning: variable 'ctx' set but not used [-Wunused-but-set-variable]
    2347 |         struct iaa_compression_ctx *ctx = crypto_tfm_ctx(tfm);
         |                                     ^
   1 warning generated.


vim +/ctx +2347 drivers/crypto/intel/iaa/iaa_crypto_main.c

4d9d295bdce222 Kanchana P Sridhar 2025-07-03  2343  
2ec6761df889fd Tom Zanussi        2023-12-05  2344  static int iaa_comp_init_fixed(struct crypto_acomp *acomp_tfm)
2ec6761df889fd Tom Zanussi        2023-12-05  2345  {
2ec6761df889fd Tom Zanussi        2023-12-05  2346  	struct crypto_tfm *tfm = crypto_acomp_tfm(acomp_tfm);
2ec6761df889fd Tom Zanussi        2023-12-05 @2347  	struct iaa_compression_ctx *ctx = crypto_tfm_ctx(tfm);
2ec6761df889fd Tom Zanussi        2023-12-05  2348  
4d9d295bdce222 Kanchana P Sridhar 2025-07-03  2349  	ctx = iaa_ctx[IAA_MODE_FIXED];
0ece0d4e1175a0 Kanchana P Sridhar 2025-07-03  2350  
2ec6761df889fd Tom Zanussi        2023-12-05  2351  	return 0;
2ec6761df889fd Tom Zanussi        2023-12-05  2352  }
2ec6761df889fd Tom Zanussi        2023-12-05  2353  

-- 
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:[~2025-07-04 15:57 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <20250704042323.10318-11-kanchana.p.sridhar@intel.com>
2025-07-04 15:56 ` [PATCH v10 10/25] crypto: iaa - Rearchitect the iaa_crypto driver to be usable by zswap and zram 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;
as well as URLs for NNTP newsgroup(s).