Re: [PATCH v4 3/7] regulator: IRQ based event/error notification helpers

From: kernel test robot
Date: Tue Apr 06 2021 - 08:09:30 EST


Hi Matti,

I love your patch! Yet something to improve:

[auto build test ERROR on v5.12-rc6]
[also build test ERROR on next-20210401]
[cannot apply to regulator/for-next]
[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]

url: https://github.com/0day-ci/linux/commits/Matti-Vaittinen/Extend-regulator-notification-support/20210406-151758
base: e49d033bddf5b565044e2abe4241353959bc9120
config: x86_64-randconfig-a014-20210406 (attached as .config)
compiler: clang version 13.0.0 (https://github.com/llvm/llvm-project a46f59a747a7273cc439efaf3b4f98d8b63d2f20)
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
# install x86_64 cross compiling tool for clang build
# apt-get install binutils-x86-64-linux-gnu
# https://github.com/0day-ci/linux/commit/50f89bb3fbe5e4a21c48a9ca64065f3f3a668e56
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review Matti-Vaittinen/Extend-regulator-notification-support/20210406-151758
git checkout 50f89bb3fbe5e4a21c48a9ca64065f3f3a668e56
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=x86_64

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@xxxxxxxxx>

All errors (new ones prefixed by >>):

>> drivers/regulator/irq_helpers.c:46:11: error: expected ')'
pr_emerg(msg);
^
drivers/regulator/irq_helpers.c:46:2: note: to match this '('
pr_emerg(msg);
^
include/linux/printk.h:313:8: note: expanded from macro 'pr_emerg'
printk(KERN_EMERG pr_fmt(fmt), ##__VA_ARGS__)
^
1 error generated.


vim +46 drivers/regulator/irq_helpers.c

43
44 static void die_loudly(const char *msg)
45 {
> 46 pr_emerg(msg);
47 BUG();
48 }
49

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx

Attachment: .config.gz
Description: application/gzip