* [dhowells-fs:ceph-iter 49/92] fs/afs/write.c:313:13: warning: 'netfs_dump_sg' defined but not used
@ 2024-11-29 20:14 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2024-11-29 20:14 UTC (permalink / raw)
To: David Howells; +Cc: oe-kbuild-all
tree: https://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs.git ceph-iter
head: ae69436bf8db8f3a53edd0dfa379e753700240c0
commit: 60df3102afd636c54591818d78bc1b3965a9a6f3 [49/92] afs: [DON'T MERGE] Implement trivial content crypto for testing purposes
config: sh-allmodconfig (https://download.01.org/0day-ci/archive/20241130/202411300454.2MPbBgrd-lkp@intel.com/config)
compiler: sh4-linux-gcc (GCC) 14.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20241130/202411300454.2MPbBgrd-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/202411300454.2MPbBgrd-lkp@intel.com/
All warnings (new ones prefixed by >>):
>> fs/afs/write.c:313:13: warning: 'netfs_dump_sg' defined but not used [-Wunused-function]
313 | static void netfs_dump_sg(const char *prefix, struct scatterlist *sg, unsigned int n_sg)
| ^~~~~~~~~~~~~
vim +/netfs_dump_sg +313 fs/afs/write.c
312
> 313 static void netfs_dump_sg(const char *prefix, struct scatterlist *sg, unsigned int n_sg)
314 {
315 unsigned int i;
316
317 for (i = 0; i < n_sg; i++) {
318 void *p = kmap_local_page(sg_page(sg));
319 unsigned int l = min_t(size_t, sg->length, 16);
320
321 printk("%s[%x] %016lx %04x %04x %*phN\n",
322 prefix, i, sg->page_link, sg->offset, sg->length,
323 l, p + sg->offset);
324 kunmap_local(p);
325 sg++;
326 }
327 }
328
--
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:[~2024-11-29 20:14 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-11-29 20:14 [dhowells-fs:ceph-iter 49/92] fs/afs/write.c:313:13: warning: 'netfs_dump_sg' defined but not used kernel test robot
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.