tree:
https://chromium.googlesource.com/chromiumos/third_party/kernel chromeos-4.19
head: 3583b0f74632e49a69d7af4bbdf44d8cdb4b2d59
commit: 24f9cfbc3921d4f2ded2adcc5e55160191d60958 [3/4] CHROMIUM: soc: cmdq: mediatek: add
debug function
config: alpha-allyesconfig (attached as .config)
compiler: alpha-linux-gcc (GCC) 9.3.0
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
git checkout 24f9cfbc3921d4f2ded2adcc5e55160191d60958
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=alpha
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All warnings (new ones prefixed by >>, old ones prefixed by <<):
In file included from arch/alpha/include/asm/bug.h:23,
from include/linux/bug.h:5,
from include/linux/thread_info.h:12,
from include/asm-generic/preempt.h:5,
from ./arch/alpha/include/generated/asm/preempt.h:1,
from include/linux/preempt.h:81,
from include/linux/spinlock.h:51,
from include/linux/wait.h:9,
from include/linux/completion.h:12,
from drivers/soc/mediatek/mtk-cmdq-helper.c:5:
drivers/soc/mediatek/mtk-cmdq-helper.c: In function 'cmdq_client_timeout':
> drivers/soc/mediatek/mtk-cmdq-helper.c:62:15: warning: too many
arguments for format [-Wformat-extra-args]
62 | WARN_ONCE(1, "cmdq
timeout!n", client->client.dev);
| ^~~~~~~~~~~~~~~~~
include/asm-generic/bug.h:102:69: note: in definition of macro '__WARN_printf'
102 | #define __WARN_printf(arg...) warn_slowpath_fmt(__FILE__, __LINE__, arg)
| ^~~
include/asm-generic/bug.h:166:3: note: in expansion of macro 'WARN'
166 | WARN(1, format); | ^~~~
> drivers/soc/mediatek/mtk-cmdq-helper.c:62:2: note: in expansion
of macro 'WARN_ONCE'
62 | WARN_ONCE(1, "cmdq timeout!n",
client->client.dev);
| ^~~~~~~~~
--
> drivers/mailbox/mtk-cmdq-debug.c:28:6: warning: no previous
prototype for 'cmdq_buf_print_write' [-Wmissing-prototypes]
28 | void
cmdq_buf_print_write(struct device *dev, u32 offset,
| ^~~~~~~~~~~~~~~~~~~~
> drivers/mailbox/mtk-cmdq-debug.c:46:6: warning: no previous
prototype for 'cmdq_buf_print_mask' [-Wmissing-prototypes]
46 | void
cmdq_buf_print_mask(struct device *dev, u32 offset,
| ^~~~~~~~~~~~~~~~~~~
> drivers/mailbox/mtk-cmdq-debug.c:52:6: warning: no previous
prototype for 'cmdq_buf_print_misc' [-Wmissing-prototypes]
52 | void
cmdq_buf_print_misc(struct device *dev, u32 offset,
| ^~~~~~~~~~~~~~~~~~~
vim +62 drivers/soc/mediatek/mtk-cmdq-helper.c
57
58 static void cmdq_client_timeout(struct timer_list *t)
59 {
60 struct cmdq_client *client = from_timer(client, t, timer);
61
62 WARN_ONCE(1, "cmdq timeout!\n", client->client.dev);
63 #ifdef CONFIG_MTK_CMDQ_DEBUG
64 mbox_free_channel(client->chan);
65 #endif
66 }
67
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org