mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* drivers/gpu/drm/nouveau/nvkm/nvfw/acr.c:49:1: warning: no previous prototype for 'lsb_header_tail_dump'
@ 2020-05-29 21:00 kbuild test robot
  2020-05-29 23:36 ` Ben Skeggs
  0 siblings, 1 reply; 2+ messages in thread
From: kbuild test robot @ 2020-05-29 21:00 UTC (permalink / raw)
  To: Ben, Skeggs,; +Cc: kbuild-all, linux-kernel

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

Hi Ben,

FYI, the error/warning still remains.

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   75caf310d16cc5e2f851c048cd597f5437013368
commit: 22dcda45a3d1dfe6eeb4ab0a3b9aaa2333cb649d drm/nouveau/acr: implement new subdev to replace "secure boot"
date:   5 months ago
config: arm64-sof-customedconfig-sst-defconfig (attached as .config)
compiler: aarch64-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
        git checkout 22dcda45a3d1dfe6eeb4ab0a3b9aaa2333cb649d
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=arm64 

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

All warnings (new ones prefixed by >>, old ones prefixed by <<):

>> drivers/gpu/drm/nouveau/nvkm/nvfw/acr.c:49:1: warning: no previous prototype for 'lsb_header_tail_dump' [-Wmissing-prototypes]
49 | lsb_header_tail_dump(struct nvkm_subdev *subdev,
| ^~~~~~~~~~~~~~~~~~~~

vim +/lsb_header_tail_dump +49 drivers/gpu/drm/nouveau/nvkm/nvfw/acr.c

    47	
    48	void
  > 49	lsb_header_tail_dump(struct nvkm_subdev *subdev,
    50				struct lsb_header_tail *hdr)
    51	{
    52		nvkm_debug(subdev, "lsbHeader\n");
    53		nvkm_debug(subdev, "\tucodeOff      : 0x%x\n", hdr->ucode_off);
    54		nvkm_debug(subdev, "\tucodeSize     : 0x%x\n", hdr->ucode_size);
    55		nvkm_debug(subdev, "\tdataSize      : 0x%x\n", hdr->data_size);
    56		nvkm_debug(subdev, "\tblCodeSize    : 0x%x\n", hdr->bl_code_size);
    57		nvkm_debug(subdev, "\tblImemOff     : 0x%x\n", hdr->bl_imem_off);
    58		nvkm_debug(subdev, "\tblDataOff     : 0x%x\n", hdr->bl_data_off);
    59		nvkm_debug(subdev, "\tblDataSize    : 0x%x\n", hdr->bl_data_size);
    60		nvkm_debug(subdev, "\tappCodeOff    : 0x%x\n", hdr->app_code_off);
    61		nvkm_debug(subdev, "\tappCodeSize   : 0x%x\n", hdr->app_code_size);
    62		nvkm_debug(subdev, "\tappDataOff    : 0x%x\n", hdr->app_data_off);
    63		nvkm_debug(subdev, "\tappDataSize   : 0x%x\n", hdr->app_data_size);
    64		nvkm_debug(subdev, "\tflags         : 0x%x\n", hdr->flags);
    65	}
    66	

---
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: 41446 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: drivers/gpu/drm/nouveau/nvkm/nvfw/acr.c:49:1: warning: no previous prototype for 'lsb_header_tail_dump'
  2020-05-29 21:00 drivers/gpu/drm/nouveau/nvkm/nvfw/acr.c:49:1: warning: no previous prototype for 'lsb_header_tail_dump' kbuild test robot
@ 2020-05-29 23:36 ` Ben Skeggs
  0 siblings, 0 replies; 2+ messages in thread
From: Ben Skeggs @ 2020-05-29 23:36 UTC (permalink / raw)
  To: kbuild test robot; +Cc: kbuild-all, LKML

On Sat, May 30, 2020 at 7:00 AM kbuild test robot <lkp@intel.com> wrote:
>
> Hi Ben,
>
> FYI, the error/warning still remains.
Thanks, I've got a patch in my tree.

Ben.

>
> tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
> head:   75caf310d16cc5e2f851c048cd597f5437013368
> commit: 22dcda45a3d1dfe6eeb4ab0a3b9aaa2333cb649d drm/nouveau/acr: implement new subdev to replace "secure boot"
> date:   5 months ago
> config: arm64-sof-customedconfig-sst-defconfig (attached as .config)
> compiler: aarch64-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
>         git checkout 22dcda45a3d1dfe6eeb4ab0a3b9aaa2333cb649d
>         # save the attached .config to linux build tree
>         COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=arm64
>
> If you fix the issue, kindly add following tag as appropriate
> Reported-by: kbuild test robot <lkp@intel.com>
>
> All warnings (new ones prefixed by >>, old ones prefixed by <<):
>
> >> drivers/gpu/drm/nouveau/nvkm/nvfw/acr.c:49:1: warning: no previous prototype for 'lsb_header_tail_dump' [-Wmissing-prototypes]
> 49 | lsb_header_tail_dump(struct nvkm_subdev *subdev,
> | ^~~~~~~~~~~~~~~~~~~~
>
> vim +/lsb_header_tail_dump +49 drivers/gpu/drm/nouveau/nvkm/nvfw/acr.c
>
>     47
>     48  void
>   > 49  lsb_header_tail_dump(struct nvkm_subdev *subdev,
>     50                          struct lsb_header_tail *hdr)
>     51  {
>     52          nvkm_debug(subdev, "lsbHeader\n");
>     53          nvkm_debug(subdev, "\tucodeOff      : 0x%x\n", hdr->ucode_off);
>     54          nvkm_debug(subdev, "\tucodeSize     : 0x%x\n", hdr->ucode_size);
>     55          nvkm_debug(subdev, "\tdataSize      : 0x%x\n", hdr->data_size);
>     56          nvkm_debug(subdev, "\tblCodeSize    : 0x%x\n", hdr->bl_code_size);
>     57          nvkm_debug(subdev, "\tblImemOff     : 0x%x\n", hdr->bl_imem_off);
>     58          nvkm_debug(subdev, "\tblDataOff     : 0x%x\n", hdr->bl_data_off);
>     59          nvkm_debug(subdev, "\tblDataSize    : 0x%x\n", hdr->bl_data_size);
>     60          nvkm_debug(subdev, "\tappCodeOff    : 0x%x\n", hdr->app_code_off);
>     61          nvkm_debug(subdev, "\tappCodeSize   : 0x%x\n", hdr->app_code_size);
>     62          nvkm_debug(subdev, "\tappDataOff    : 0x%x\n", hdr->app_data_off);
>     63          nvkm_debug(subdev, "\tappDataSize   : 0x%x\n", hdr->app_data_size);
>     64          nvkm_debug(subdev, "\tflags         : 0x%x\n", hdr->flags);
>     65  }
>     66
>
> ---
> 0-DAY CI Kernel Test Service, Intel Corporation
> https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-05-29 23:37 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-29 21:00 drivers/gpu/drm/nouveau/nvkm/nvfw/acr.c:49:1: warning: no previous prototype for 'lsb_header_tail_dump' kbuild test robot
2020-05-29 23:36 ` Ben Skeggs

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome