[char-misc:char-misc-testing 49/54] include/linux/firmware/xlnx-zynqmp.h:634:71: error: expected ';' after top level declarator

kernel test robot
2021-10-21T21:42:46Z

[-- Attachment #1: Type: text/plain, Size: 2823 bytes --]

tree: https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc.git char-misc-testing
head: 0a6af10747d4dc25e9c85c7daf156459f28e0e55
commit: 1a8eae64b30f126c0786f3807982d49ca3be8f7c [49/54] firmware: xilinx: add register notifier in zynqmp firmware
config: hexagon-randconfig-r045-20211021 (attached as .config)
compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project 3cea2505fd8d99a9ba0cb625aecfe28a47c4e3f8)
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
# https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc.git/commit/?id=1a8eae64b30f126c0786f3807982d49ca3be8f7c
git remote add char-misc https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc.git
git fetch --no-tags char-misc char-misc-testing
git checkout 1a8eae64b30f126c0786f3807982d49ca3be8f7c
# save the attached .config to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=hexagon SHELL=/bin/bash drivers/

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

All errors (new ones prefixed by >>):

In file included from drivers/spi/spi-zynqmp-gqspi.c:13:
>> include/linux/firmware/xlnx-zynqmp.h:634:71: error: expected ';' after top level declarator
static inline int zynqmp_pm_load_pdi(const u32 src, const u64 address)
^
;
1 error generated.

vim +634 include/linux/firmware/xlnx-zynqmp.h

2b9fc773c31bb7 Nava kishore Manne 2021-06-26 633
2b9fc773c31bb7 Nava kishore Manne 2021-06-26 @634 static inline int zynqmp_pm_load_pdi(const u32 src, const u64 address)
1a8eae64b30f12 Abhyuday Godhasara 2021-10-21 635 static inline int zynqmp_pm_register_notifier(const u32 node, const u32 event,
1a8eae64b30f12 Abhyuday Godhasara 2021-10-21 636 const u32 wake, const u32 enable)
2b9fc773c31bb7 Nava kishore Manne 2021-06-26 637 {
2b9fc773c31bb7 Nava kishore Manne 2021-06-26 638 return -ENODEV;
2b9fc773c31bb7 Nava kishore Manne 2021-06-26 639 }
76582671eb5d00 Rajan Vaja 2018-09-12 640 #endif
76582671eb5d00 Rajan Vaja 2018-09-12 641

:::::: The code at line 634 was first introduced by commit
:::::: 2b9fc773c31bb7cb7529757382013a8158bf7e9c drivers: firmware: Add PDI load API support

:::::: TO: Nava kishore Manne <nava.manne@xilinx.com>
:::::: CC: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

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

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 28085 bytes --]