* [ebiggers:wip-inline-encryption 34/70] drivers/soc/qcom/rpmh-rsc.c:281:3: error: implicit declaration of function 'trace_rpmh_send_msg_rcuidle'; did you mean 'trace_rpmh_send_msg_enabled'?
@ 2020-05-01 10:36 kbuild test robot
0 siblings, 0 replies; only message in thread
From: kbuild test robot @ 2020-05-01 10:36 UTC (permalink / raw)
To: kbuild-all
[-- Attachment #1: Type: text/plain, Size: 4386 bytes --]
tree: https://git.kernel.org/pub/scm/linux/kernel/git/ebiggers/linux.git wip-inline-encryption
head: 1ce559f958cdedf3992e3975f1c7b74dc98dd87a
commit: 3d415ed6e9bbbf31bbf3037c5a278cad9379352f [34/70] soc: qcom: rpmh: Allow RPMH driver to be loaded as a module
config: sh-allmodconfig (attached as .config)
compiler: sh4-linux-gcc (GCC) 9.3.0
reproduce:
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
git checkout 3d415ed6e9bbbf31bbf3037c5a278cad9379352f
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day GCC_VERSION=9.3.0 make.cross ARCH=sh
If you fix the issue, kindly add following tag as appropriate
Reported-by: kbuild test robot <lkp@intel.com>
All errors (new ones prefixed by >>):
drivers/soc/qcom/rpmh-rsc.c: In function '__tcs_buffer_write':
>> drivers/soc/qcom/rpmh-rsc.c:281:3: error: implicit declaration of function 'trace_rpmh_send_msg_rcuidle'; did you mean 'trace_rpmh_send_msg_enabled'? [-Werror=implicit-function-declaration]
281 | trace_rpmh_send_msg_rcuidle(drv, tcs_id, j, msgid, cmd);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
| trace_rpmh_send_msg_enabled
cc1: some warnings being treated as errors
vim +281 drivers/soc/qcom/rpmh-rsc.c
658628e7ef78e8 Lina Iyer 2018-06-20 255
658628e7ef78e8 Lina Iyer 2018-06-20 256 static void __tcs_buffer_write(struct rsc_drv *drv, int tcs_id, int cmd_id,
658628e7ef78e8 Lina Iyer 2018-06-20 257 const struct tcs_request *msg)
658628e7ef78e8 Lina Iyer 2018-06-20 258 {
658628e7ef78e8 Lina Iyer 2018-06-20 259 u32 msgid, cmd_msgid;
658628e7ef78e8 Lina Iyer 2018-06-20 260 u32 cmd_enable = 0;
658628e7ef78e8 Lina Iyer 2018-06-20 261 u32 cmd_complete;
658628e7ef78e8 Lina Iyer 2018-06-20 262 struct tcs_cmd *cmd;
658628e7ef78e8 Lina Iyer 2018-06-20 263 int i, j;
658628e7ef78e8 Lina Iyer 2018-06-20 264
658628e7ef78e8 Lina Iyer 2018-06-20 265 cmd_msgid = CMD_MSGID_LEN;
658628e7ef78e8 Lina Iyer 2018-06-20 266 cmd_msgid |= msg->wait_for_compl ? CMD_MSGID_RESP_REQ : 0;
658628e7ef78e8 Lina Iyer 2018-06-20 267 cmd_msgid |= CMD_MSGID_WRITE;
658628e7ef78e8 Lina Iyer 2018-06-20 268
658628e7ef78e8 Lina Iyer 2018-06-20 269 cmd_complete = read_tcs_reg(drv, RSC_DRV_CMD_WAIT_FOR_CMPL, tcs_id, 0);
658628e7ef78e8 Lina Iyer 2018-06-20 270
658628e7ef78e8 Lina Iyer 2018-06-20 271 for (i = 0, j = cmd_id; i < msg->num_cmds; i++, j++) {
658628e7ef78e8 Lina Iyer 2018-06-20 272 cmd = &msg->cmds[i];
658628e7ef78e8 Lina Iyer 2018-06-20 273 cmd_enable |= BIT(j);
658628e7ef78e8 Lina Iyer 2018-06-20 274 cmd_complete |= cmd->wait << j;
658628e7ef78e8 Lina Iyer 2018-06-20 275 msgid = cmd_msgid;
658628e7ef78e8 Lina Iyer 2018-06-20 276 msgid |= cmd->wait ? CMD_MSGID_RESP_REQ : 0;
fc087fe5a45e72 Lina Iyer 2018-06-20 277
658628e7ef78e8 Lina Iyer 2018-06-20 278 write_tcs_cmd(drv, RSC_DRV_CMD_MSGID, tcs_id, j, msgid);
658628e7ef78e8 Lina Iyer 2018-06-20 279 write_tcs_cmd(drv, RSC_DRV_CMD_ADDR, tcs_id, j, cmd->addr);
658628e7ef78e8 Lina Iyer 2018-06-20 280 write_tcs_cmd(drv, RSC_DRV_CMD_DATA, tcs_id, j, cmd->data);
efde2659b0fe83 Stephen Boyd 2020-01-14 @281 trace_rpmh_send_msg_rcuidle(drv, tcs_id, j, msgid, cmd);
658628e7ef78e8 Lina Iyer 2018-06-20 282 }
658628e7ef78e8 Lina Iyer 2018-06-20 283
658628e7ef78e8 Lina Iyer 2018-06-20 284 write_tcs_reg(drv, RSC_DRV_CMD_WAIT_FOR_CMPL, tcs_id, cmd_complete);
658628e7ef78e8 Lina Iyer 2018-06-20 285 cmd_enable |= read_tcs_reg(drv, RSC_DRV_CMD_ENABLE, tcs_id, 0);
658628e7ef78e8 Lina Iyer 2018-06-20 286 write_tcs_reg(drv, RSC_DRV_CMD_ENABLE, tcs_id, cmd_enable);
658628e7ef78e8 Lina Iyer 2018-06-20 287 }
658628e7ef78e8 Lina Iyer 2018-06-20 288
:::::: The code at line 281 was first introduced by commit
:::::: efde2659b0fe835732047357b2902cca14f054d9 drivers: qcom: rpmh-rsc: Use rcuidle tracepoints for rpmh
:::::: TO: Stephen Boyd <swboyd@chromium.org>
:::::: CC: Bjorn Andersson <bjorn.andersson@linaro.org>
---
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: 54662 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2020-05-01 10:36 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-01 10:36 [ebiggers:wip-inline-encryption 34/70] drivers/soc/qcom/rpmh-rsc.c:281:3: error: implicit declaration of function 'trace_rpmh_send_msg_rcuidle'; did you mean 'trace_rpmh_send_msg_enabled'? kbuild 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.