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

From: Greg Kroah-Hartman
Date: Fri Oct 22 2021 - 04:31:11 EST


On Fri, Oct 22, 2021 at 08:20:18AM +0000, Abhyuday Godhasara wrote:
> 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.

Your patch is incorrect, and causes this build error.

thanks,

greg k-h