tree:
https://android.googlesource.com/kernel/common android-4.19
head: b12d8a020f80c15f34bb430628d6ecdba289e72b
commit: d892c9f3571faa2e691fc3a9eb6ea4f4da1d7eab [1/4] ANDROID: GKI: pwm: core: Add option
to config PWM duty/period with u64 data length
config: i386-randconfig-a004-20200518 (attached as .config)
compiler: gcc-4.9 (Ubuntu 4.9.3-13ubuntu2) 4.9.3
reproduce:
git checkout d892c9f3571faa2e691fc3a9eb6ea4f4da1d7eab
# 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/dynamic_debug.h:6:0,
from include/linux/printk.h:336,
from include/linux/kernel.h:14,
from include/linux/clk.h:16,
from include/linux/mfd/stm32-lptimer.h:12,
from drivers/pwm/pwm-stm32-lp.c:13:
drivers/pwm/pwm-stm32-lp.c: In function 'stm32_pwm_lp_apply':
> include/linux/jump_label.h:409:59: warning: format '%u'
expects argument of type 'unsigned int', but argument 4 has type 'u64'
[-Wformat=]
else if (__builtin_types_compatible_p(typeof(*x), struct
static_key_false)) ^
include/linux/dynamic_debug.h:103:2: note: in expansion of macro
'static_branch_unlikely'
static_branch_unlikely(&descriptor.key.dd_key_false)
^
include/linux/dynamic_debug.h:134:6: note: in expansion of macro
'DYNAMIC_DEBUG_BRANCH'
if (DYNAMIC_DEBUG_BRANCH(descriptor)) ^
include/linux/device.h:1519:2: note: in expansion of macro 'dynamic_dev_dbg'
dynamic_dev_dbg(dev, dev_fmt(fmt), ##__VA_ARGS__)
^
drivers/pwm/pwm-stm32-lp.c:63:3: note: in expansion of macro 'dev_dbg'
dev_dbg(priv->chip.dev, "Can't reach %u nsn", state->period);
^
vim +409 include/linux/jump_label.h
11276d5306b8e5 Peter Zijlstra 2015-07-24 403
11276d5306b8e5 Peter Zijlstra 2015-07-24 404 #define static_branch_unlikely(x) \
11276d5306b8e5 Peter Zijlstra 2015-07-24 405 ({ \
11276d5306b8e5 Peter Zijlstra 2015-07-24 406 bool branch; \
11276d5306b8e5 Peter Zijlstra 2015-07-24 407 if
(__builtin_types_compatible_p(typeof(*x), struct static_key_true)) \
11276d5306b8e5 Peter Zijlstra 2015-07-24 408 branch =
arch_static_branch_jump(&(x)->key, false); \
11276d5306b8e5 Peter Zijlstra 2015-07-24 @409 else if
(__builtin_types_compatible_p(typeof(*x), struct static_key_false)) \
11276d5306b8e5 Peter Zijlstra 2015-07-24 410 branch =
arch_static_branch(&(x)->key, false); \
11276d5306b8e5 Peter Zijlstra 2015-07-24 411 else \
11276d5306b8e5 Peter Zijlstra 2015-07-24 412 branch = ____wrong_branch_error(); \
81dcf89f03204d Peter Zijlstra 2018-01-18 413 unlikely(branch); \
11276d5306b8e5 Peter Zijlstra 2015-07-24 414 })
11276d5306b8e5 Peter Zijlstra 2015-07-24 415
:::::: The code at line 409 was first introduced by commit
:::::: 11276d5306b8e5b438a36bbff855fe792d7eaa61 locking/static_keys: Add a new static_key
interface
:::::: TO: Peter Zijlstra <peterz(a)infradead.org>
:::::: CC: Ingo Molnar <mingo(a)kernel.org>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org