[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAOMZO5CJb_8AoaEPG67tVTV=dB3m7C+zX=Ka7mvPv2Xb4OF73g@mail.gmail.com>
Date: Thu, 19 Nov 2020 20:11:12 -0300
From: Fabio Estevam <festevam@...il.com>
To: kernel test robot <lkp@...el.com>,
Geert Uytterhoeven <geert@...ux-m68k.org>
Cc: kbuild-all@...ts.01.org,
linux-kernel <linux-kernel@...r.kernel.org>,
Mauro Carvalho Chehab <mchehab@...nel.org>,
linux-media <linux-media@...r.kernel.org>,
Hans Verkuil <hverkuil@...all.nl>
Subject: Re: drivers/media/platform/fsl-viu.c:253:2: error: implicit
declaration of function 'out_be32'
On Wed, Nov 18, 2020 at 10:15 PM kernel test robot <lkp@...el.com> wrote:
>
> Hi Fabio,
>
> FYI, the error/warning still remains.
>
> tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
> head: c2e7554e1b85935d962127efa3c2a76483b0b3b6
> commit: 17621758e53f0e6bf1ac469cca2a59fa6457d205 media: fsl-viu: Do not redefine out_be32()/in_be32() for CONFIG_M68K
> date: 3 months ago
> config: m68k-randconfig-r013-20201118 (attached as .config)
> compiler: m68k-linux-gcc (GCC) 9.3.0
> 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/torvalds/linux.git/commit/?id=17621758e53f0e6bf1ac469cca2a59fa6457d205
> git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
> git fetch --no-tags linus master
> git checkout 17621758e53f0e6bf1ac469cca2a59fa6457d205
> # save the attached .config to linux build tree
> COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=m68k
>
> If you fix the issue, kindly add following tag as appropriate
> Reported-by: kernel test robot <lkp@...el.com>
>
> All errors (new ones prefixed by >>):
>
> drivers/media/platform/fsl-viu.c: In function 'viu_start_dma':
> >> drivers/media/platform/fsl-viu.c:253:2: error: implicit declaration of function 'out_be32' [-Werror=implicit-function-declaration]
> 253 | out_be32(&vr->status_cfg, SOFT_RST);
> | ^~~~~~~~
> drivers/media/platform/fsl-viu.c: In function 'viu_stop_dma':
> >> drivers/media/platform/fsl-viu.c:266:15: error: implicit declaration of function 'in_be32' [-Werror=implicit-function-declaration]
> 266 | status_cfg = in_be32(&vr->status_cfg);
> | ^~~~~~~
> cc1: some warnings being treated as errors
It seems that Geert has submitted a proper fix a long time ago:
https://lkml.org/lkml/2020/8/17/2376
Powered by blists - more mailing lists