From: kernel test robot <lkp@intel.com>
To: Ovidiu Panait <ovidiu.panait.oss@gmail.com>,
clabbe.montjoie@gmail.com, herbert@gondor.apana.org.au,
davem@davemloft.net, linux-crypto@vger.kernel.org
Cc: oe-kbuild-all@lists.linux.dev, wens@csie.org,
jernej.skrabec@gmail.com, samuel@sholland.org,
linux-arm-kernel@lists.infradead.org,
linux-sunxi@lists.linux.dev, linux-kernel@vger.kernel.org,
Ovidiu Panait <ovidiu.panait.oss@gmail.com>
Subject: Re: [PATCH 10/10] crypto: sun8i-ce - implement request batching
Date: Fri, 20 Jun 2025 11:00:18 +0800 [thread overview]
Message-ID: <202506201006.eQ2P1PuC-lkp@intel.com> (raw)
In-Reply-To: <20250619122316.2587236-11-ovidiu.panait.oss@gmail.com>
Hi Ovidiu,
kernel test robot noticed the following build warnings:
[auto build test WARNING on herbert-cryptodev-2.6/master]
[also build test WARNING on next-20250619]
[cannot apply to sunxi/sunxi/for-next herbert-crypto-2.6/master linus/master v6.16-rc2]
[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/Ovidiu-Panait/crypto-sun8i-ce-remove-channel-timeout-field/20250619-202957
base: https://git.kernel.org/pub/scm/linux/kernel/git/herbert/cryptodev-2.6.git master
patch link: https://lore.kernel.org/r/20250619122316.2587236-11-ovidiu.panait.oss%40gmail.com
patch subject: [PATCH 10/10] crypto: sun8i-ce - implement request batching
config: loongarch-allyesconfig (https://download.01.org/0day-ci/archive/20250620/202506201006.eQ2P1PuC-lkp@intel.com/config)
compiler: loongarch64-linux-gcc (GCC) 15.1.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250620/202506201006.eQ2P1PuC-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/202506201006.eQ2P1PuC-lkp@intel.com/
All warnings (new ones prefixed by >>):
drivers/crypto/allwinner/sun8i-ce/sun8i-ce-core.c: In function 'sun8i_ce_dump_task_descriptors':
>> drivers/crypto/allwinner/sun8i-ce/sun8i-ce-core.c:178:52: warning: '%d' directive output may be truncated writing between 1 and 11 bytes into a region of size 7 [-Wformat-truncation=]
178 | snprintf(task, sizeof(task), "TASK %d:", i);
| ^~
drivers/crypto/allwinner/sun8i-ce/sun8i-ce-core.c:178:46: note: directive argument in the range [-2147483641, 2147483646]
178 | snprintf(task, sizeof(task), "TASK %d:", i);
| ^~~~~~~~~~
drivers/crypto/allwinner/sun8i-ce/sun8i-ce-core.c:178:17: note: 'snprintf' output between 8 and 18 bytes into a destination of size 12
178 | snprintf(task, sizeof(task), "TASK %d:", i);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
vim +178 drivers/crypto/allwinner/sun8i-ce/sun8i-ce-core.c
171
172 static void sun8i_ce_dump_task_descriptors(struct sun8i_ce_flow *chan)
173 {
174 for (int i = 0; i < chan->reqs_no; ++i) {
175 struct ce_task *cet = &chan->tl[i];
176 char task[CE_MAX_TASK_DESCR_DUMP_MSG_SIZE];
177
> 178 snprintf(task, sizeof(task), "TASK %d:", i);
179 print_hex_dump(KERN_INFO, task, DUMP_PREFIX_NONE, 16, 4,
180 cet, sizeof(struct ce_task), false);
181 }
182 }
183
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
prev parent reply other threads:[~2025-06-20 3:01 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-06-19 12:23 [PATCH 00/10] " Ovidiu Panait
2025-06-19 12:23 ` [PATCH 01/10] crypto: sun8i-ce - remove channel timeout field Ovidiu Panait
2025-06-19 12:23 ` [PATCH 02/10] crypto: sun8i-ce - remove boilerplate in sun8i_ce_hash_digest() Ovidiu Panait
2025-06-19 12:23 ` [PATCH 03/10] crypto: sun8i-ce - move bounce_iv and backup_iv to request context Ovidiu Panait
2025-06-19 12:23 ` [PATCH 04/10] crypto: sun8i-ce - save hash buffers and dma info " Ovidiu Panait
2025-06-19 12:23 ` [PATCH 05/10] crypto: sun8i-ce - factor out prepare/unprepare code from ahash do_one_request Ovidiu Panait
2025-06-19 12:23 ` [PATCH 06/10] crypto: sun8i-ce - fold sun8i_ce_cipher_run() into sun8i_ce_cipher_do_one() Ovidiu Panait
2025-06-19 12:23 ` [PATCH 07/10] crypto: sun8i-ce - pass task descriptor to cipher prepare/unprepare Ovidiu Panait
2025-06-19 12:23 ` [PATCH 08/10] crypto: sun8i-ce - factor out public versions of finalize request Ovidiu Panait
2025-06-19 12:23 ` [PATCH 09/10] crypto: sun8i-ce - add a new function for dumping task descriptors Ovidiu Panait
2025-06-19 12:23 ` [PATCH 10/10] crypto: sun8i-ce - implement request batching Ovidiu Panait
2025-06-20 3:00 ` kernel test robot [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=202506201006.eQ2P1PuC-lkp@intel.com \
--to=lkp@intel.com \
--cc=clabbe.montjoie@gmail.com \
--cc=davem@davemloft.net \
--cc=herbert@gondor.apana.org.au \
--cc=jernej.skrabec@gmail.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-crypto@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-sunxi@lists.linux.dev \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=ovidiu.panait.oss@gmail.com \
--cc=samuel@sholland.org \
--cc=wens@csie.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®