* [tglx-devel:hrtimer 5/12] net/can/bcm.c:628:46: error: expected ')'
@ 2021-09-20 1:58 ` kernel test robot
0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2021-09-20 1:58 UTC (permalink / raw)
To: Thomas Gleixner; +Cc: llvm, kbuild-all, linux-kernel
[-- Attachment #1: Type: text/plain, Size: 2561 bytes --]
tree: https://git.kernel.org/pub/scm/linux/kernel/git/tglx/devel.git hrtimer
head: 16c372aeaca31d5d9d998466e75e845a2926685f
commit: df0b0ce19903f84991732242cb7c058dd229d587 [5/12] can: bcm: Use hrtimer_forward_now()
config: i386-randconfig-a011-20210919 (attached as .config)
compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project c8b3d7d6d6de37af68b2f379d0e37304f78e115f)
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# https://git.kernel.org/pub/scm/linux/kernel/git/tglx/devel.git/commit/?id=df0b0ce19903f84991732242cb7c058dd229d587
git remote add tglx-devel https://git.kernel.org/pub/scm/linux/kernel/git/tglx/devel.git
git fetch --no-tags tglx-devel hrtimer
git checkout df0b0ce19903f84991732242cb7c058dd229d587
# save the attached .config to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=i386 SHELL=/bin/bash
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
All errors (new ones prefixed by >>):
net/can/bcm.c:628:24: warning: expression result unused [-Wunused-value]
hrtimer_forward_now((hrtimer, op->kt_ival2);
^~~~~~~
>> net/can/bcm.c:628:46: error: expected ')'
hrtimer_forward_now((hrtimer, op->kt_ival2);
^
net/can/bcm.c:628:22: note: to match this '('
hrtimer_forward_now((hrtimer, op->kt_ival2);
^
1 warning and 1 error generated.
vim +628 net/can/bcm.c
618
619 /*
620 * bcm_rx_thr_handler - the time for blocked content updates is over now:
621 * Check for throttled data and send it to the userspace
622 */
623 static enum hrtimer_restart bcm_rx_thr_handler(struct hrtimer *hrtimer)
624 {
625 struct bcm_op *op = container_of(hrtimer, struct bcm_op, thrtimer);
626
627 if (bcm_rx_thr_flush(op)) {
> 628 hrtimer_forward_now((hrtimer, op->kt_ival2);
629 return HRTIMER_RESTART;
630 } else {
631 /* rearm throttle handling */
632 op->kt_lastmsg = 0;
633 return HRTIMER_NORESTART;
634 }
635 }
636
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 32067 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* [tglx-devel:hrtimer 5/12] net/can/bcm.c:628:46: error: expected ')'
@ 2021-09-20 1:58 ` kernel test robot
0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2021-09-20 1:58 UTC (permalink / raw)
To: kbuild-all
[-- Attachment #1: Type: text/plain, Size: 2621 bytes --]
tree: https://git.kernel.org/pub/scm/linux/kernel/git/tglx/devel.git hrtimer
head: 16c372aeaca31d5d9d998466e75e845a2926685f
commit: df0b0ce19903f84991732242cb7c058dd229d587 [5/12] can: bcm: Use hrtimer_forward_now()
config: i386-randconfig-a011-20210919 (attached as .config)
compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project c8b3d7d6d6de37af68b2f379d0e37304f78e115f)
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# https://git.kernel.org/pub/scm/linux/kernel/git/tglx/devel.git/commit/?id=df0b0ce19903f84991732242cb7c058dd229d587
git remote add tglx-devel https://git.kernel.org/pub/scm/linux/kernel/git/tglx/devel.git
git fetch --no-tags tglx-devel hrtimer
git checkout df0b0ce19903f84991732242cb7c058dd229d587
# save the attached .config to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=i386 SHELL=/bin/bash
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
All errors (new ones prefixed by >>):
net/can/bcm.c:628:24: warning: expression result unused [-Wunused-value]
hrtimer_forward_now((hrtimer, op->kt_ival2);
^~~~~~~
>> net/can/bcm.c:628:46: error: expected ')'
hrtimer_forward_now((hrtimer, op->kt_ival2);
^
net/can/bcm.c:628:22: note: to match this '('
hrtimer_forward_now((hrtimer, op->kt_ival2);
^
1 warning and 1 error generated.
vim +628 net/can/bcm.c
618
619 /*
620 * bcm_rx_thr_handler - the time for blocked content updates is over now:
621 * Check for throttled data and send it to the userspace
622 */
623 static enum hrtimer_restart bcm_rx_thr_handler(struct hrtimer *hrtimer)
624 {
625 struct bcm_op *op = container_of(hrtimer, struct bcm_op, thrtimer);
626
627 if (bcm_rx_thr_flush(op)) {
> 628 hrtimer_forward_now((hrtimer, op->kt_ival2);
629 return HRTIMER_RESTART;
630 } else {
631 /* rearm throttle handling */
632 op->kt_lastmsg = 0;
633 return HRTIMER_NORESTART;
634 }
635 }
636
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org
[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 32067 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-09-20 1:59 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-20 1:58 [tglx-devel:hrtimer 5/12] net/can/bcm.c:628:46: error: expected ')' kernel test robot
2021-09-20 1:58 ` 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.