tree:
https://github.com/0day-ci/linux/commits/UPDATE-20201012-221850/Etienne-C...
head: 70fd678b6a5d4c1b23821d205440058cc1f1afbb
commit: 2fac059b4ca7cf60e50e658470c533bd5673864c [1/5] firmware: arm_scmi: Add missing Rx
size re-initialisation
config: x86_64-allyesconfig (attached as .config)
compiler: gcc-9 (Debian 9.3.0-15) 9.3.0
reproduce (this is a W=1 build):
#
https://github.com/0day-ci/linux/commit/2fac059b4ca7cf60e50e658470c533bd5...
git remote add linux-review
https://github.com/0day-ci/linux
git fetch --no-tags linux-review
UPDATE-20201012-221850/Etienne-Carriere/firmware-arm_scmi-always-initialize-protocols/20201008-223927
git checkout 2fac059b4ca7cf60e50e658470c533bd5673864c
# save the attached .config to linux build tree
make W=1 ARCH=x86_64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All error/warnings (new ones prefixed by >>):
In file included from drivers/firmware/arm_scmi/bus.c:16:
drivers/firmware/arm_scmi/common.h: In function 'scmi_reset_rx_to_maxsz':
> drivers/firmware/arm_scmi/common.h:251:27: error: implicit
declaration of function 'handle_to_scmi_info'
[-Werror=implicit-function-declaration]
251 | struct scmi_info *info =
handle_to_scmi_info(handle);
| ^~~~~~~~~~~~~~~~~~~
> drivers/firmware/arm_scmi/common.h:251:27: warning:
initialization of 'struct scmi_info *' from 'int' makes pointer from
integer without a cast [-Wint-conversion]
> drivers/firmware/arm_scmi/common.h:253:21: error: dereferencing pointer to incomplete
type 'struct scmi_info'
253 | xfer->rx.len =
info->desc->max_msg_size;
| ^~
cc1: some warnings being treated as errors
vim +/handle_to_scmi_info +251 drivers/firmware/arm_scmi/common.h
247
248 static inline void scmi_reset_rx_to_maxsz(const struct scmi_handle *handle,
249 struct scmi_xfer *xfer)
250 {
251 struct scmi_info *info = handle_to_scmi_info(handle);
252
253 xfer->rx.len = info->desc->max_msg_size;
254 }
255
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org