Re: [PATCH v9 02/19] crypto: acomp - Reinstate non-chained crypto_acomp_[de]compress().

From: kernel test robot
Date: Wed Apr 30 2025 - 20:30:21 EST


Hi Kanchana,

kernel test robot noticed the following build warnings:

[auto build test WARNING on 2c01d9f3c61101355afde90dc5c0b39d9a772ef3]

url: https://github.com/intel-lab-lkp/linux/commits/Kanchana-P-Sridhar/crypto-acomp-Remove-request-chaining/20250501-045602
base: 2c01d9f3c61101355afde90dc5c0b39d9a772ef3
patch link: https://lore.kernel.org/r/20250430205305.22844-3-kanchana.p.sridhar%40intel.com
patch subject: [PATCH v9 02/19] crypto: acomp - Reinstate non-chained crypto_acomp_[de]compress().
config: arc-randconfig-001-20250501 (https://download.01.org/0day-ci/archive/20250501/202505010736.dy4ElGuu-lkp@xxxxxxxxx/config)
compiler: arc-linux-gcc (GCC) 13.3.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250501/202505010736.dy4ElGuu-lkp@xxxxxxxxx/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@xxxxxxxxx>
| Closes: https://lore.kernel.org/oe-kbuild-all/202505010736.dy4ElGuu-lkp@xxxxxxxxx/

All warnings (new ones prefixed by >>):

>> crypto/acompress.c:298:12: warning: 'acomp_do_req_chain' defined but not used [-Wunused-function]
298 | static int acomp_do_req_chain(struct acomp_req *req, bool comp)
| ^~~~~~~~~~~~~~~~~~


vim +/acomp_do_req_chain +298 crypto/acompress.c

b67a026003725a5 Herbert Xu 2025-03-09 297
1a66016d1faca1e Kanchana P Sridhar 2025-04-30 @298 static int acomp_do_req_chain(struct acomp_req *req, bool comp)
b67a026003725a5 Herbert Xu 2025-03-09 299 {
b67a026003725a5 Herbert Xu 2025-03-09 300 int err;
b67a026003725a5 Herbert Xu 2025-03-09 301
b67a026003725a5 Herbert Xu 2025-03-09 302 acomp_save_req(req, acomp_reqchain_done);
b67a026003725a5 Herbert Xu 2025-03-09 303
1a66016d1faca1e Kanchana P Sridhar 2025-04-30 304 err = acomp_do_one_req(req, comp);
b67a026003725a5 Herbert Xu 2025-03-09 305 if (err == -EBUSY || err == -EINPROGRESS)
1a66016d1faca1e Kanchana P Sridhar 2025-04-30 306 return err;
b67a026003725a5 Herbert Xu 2025-03-09 307
1a66016d1faca1e Kanchana P Sridhar 2025-04-30 308 return acomp_reqchain_finish(req, err);
b67a026003725a5 Herbert Xu 2025-03-09 309 }
b67a026003725a5 Herbert Xu 2025-03-09 310

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