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

From: Abhyuday Godhasara
Date: Fri Oct 22 2021 - 04:20:23 EST


Hi Greg,

> -----Original Message-----
> From: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>
> Sent: Friday, October 22, 2021 1:12 PM
> To: kernel test robot <lkp@xxxxxxxxx>; Abhyuday Godhasara
> <agodhasa@xxxxxxxxxx>; llvm@xxxxxxxxxxxxxxx; kbuild-all@xxxxxxxxxxxx; linux-
> kernel@xxxxxxxxxxxxxxx; Tejas Patel <TEJASP@xxxxxxxxxx>
> Subject: Re: [char-misc:char-misc-testing 49/54] include/linux/firmware/xlnx-
> zynqmp.h:634:71: error: expected ';' after top level declarator
>
> On Fri, Oct 22, 2021 at 05:42:37AM +0800, kernel test robot wrote:
> > 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@xxxxxxxxx>
> >
> > 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.
[Abhyuday] Place where this error generated are not part of my patch series or changes. Please let me know if there is an any action require from my side.

Thanks,
Abhyuday

> >
> >
> > 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@xxxxxxxxxx>
> > :::::: CC: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>
>
>
> I will go drop all of these patches from my tree now. Please fix up and resend
> the whole series.
>
> thanks,
>
> greg k-h