tree:
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head: c9529331c7a22b8eb7eb03e1e0e221d0f58b43de
commit: f87dc808009ac86c790031627698ef1a34c31e25 [4093/9362] rcuperf: Add ability to
increase object allocation size
config: i386-randconfig-r022-20200515 (attached as .config)
compiler: gcc-4.9 (Ubuntu 4.9.3-13ubuntu2) 4.9.3
reproduce:
git checkout f87dc808009ac86c790031627698ef1a34c31e25
# save the attached .config to linux build tree
make ARCH=i386
If you fix the issue, kindly add following tag as appropriate
Reported-by: kbuild test robot <lkp(a)intel.com>
All warnings (new ones prefixed by >>, old ones prefixed by <<):
In file included from include/linux/kernel.h:15:0,
from kernel/rcu/rcuperf.c:13:
kernel/rcu/rcuperf.c: In function 'kfree_perf_init':
> kernel/rcu/rcuperf.c:726:65: warning: format '%lu'
expects argument of type 'long unsigned int', but argument 2 has type
'unsigned int' [-Wformat=]
pr_alert("kfree object size=%lun",
kfree_mult * sizeof(struct kfree_obj));
^
include/linux/printk.h:295:35: note: in definition of macro 'pr_alert'
printk(KERN_ALERT pr_fmt(fmt), ##__VA_ARGS__)
^
vim +726 kernel/rcu/rcuperf.c
708
709 static int __init
710 kfree_perf_init(void)
711 {
712 long i;
713 int firsterr = 0;
714
715 kfree_nrealthreads = compute_real(kfree_nthreads);
716 /* Start up the kthreads. */
717 if (shutdown) {
718 init_waitqueue_head(&shutdown_wq);
719 firsterr = torture_create_kthread(kfree_perf_shutdown, NULL,
720 shutdown_task);
721 if (firsterr)
722 goto unwind;
723 schedule_timeout_uninterruptible(1);
724 }
725
726 pr_alert("kfree object size=%lu\n", kfree_mult *
sizeof(struct kfree_obj));
727
728 kfree_reader_tasks = kcalloc(kfree_nrealthreads, sizeof(kfree_reader_tasks[0]),
729 GFP_KERNEL);
730 if (kfree_reader_tasks == NULL) {
731 firsterr = -ENOMEM;
732 goto unwind;
733 }
734
735 for (i = 0; i < kfree_nrealthreads; i++) {
736 firsterr = torture_create_kthread(kfree_perf_thread, (void *)i,
737 kfree_reader_tasks[i]);
738 if (firsterr)
739 goto unwind;
740 }
741
742 while (atomic_read(&n_kfree_perf_thread_started) < kfree_nrealthreads)
743 schedule_timeout_uninterruptible(1);
744
745 torture_init_end();
746 return 0;
747
748 unwind:
749 torture_init_end();
750 kfree_perf_cleanup();
751 return firsterr;
752 }
753
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org