[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202005281713.rSH8uQRh%lkp@intel.com>
Date: Thu, 28 May 2020 17:01:15 +0800
From: kbuild test robot <lkp@...el.com>
To: James Jones <jajones@...dia.com>
Cc: kbuild-all@...ts.01.org, linux-kernel@...r.kernel.org,
Ben Skeggs <bskeggs@...hat.com>
Subject: drivers/gpu/drm/nouveau/nvkm/subdev/mmu/tu102.c:31:1: warning: no
previous prototype for 'tu102_mmu_kind'
Hi James,
FYI, the error/warning still remains.
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: b0c3ba31be3e45a130e13b278cf3b90f69bda6f6
commit: 176ada03e3c2cc0e0d725ea4626dfebec681578f drm/nouveau/mmu: Add correct turing page kinds
date: 4 months ago
config: arm64-sof-customedconfig-xrun-debug-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 176ada03e3c2cc0e0d725ea4626dfebec681578f
# 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@...el.com>
All warnings (new ones prefixed by >>, old ones prefixed by <<):
>> drivers/gpu/drm/nouveau/nvkm/subdev/mmu/tu102.c:31:1: warning: no previous prototype for 'tu102_mmu_kind' [-Wmissing-prototypes]
31 | tu102_mmu_kind(struct nvkm_mmu *mmu, int *count, u8 *invalid)
| ^~~~~~~~~~~~~~
vim +/tu102_mmu_kind +31 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/tu102.c
29
30 const u8 *
> 31 tu102_mmu_kind(struct nvkm_mmu *mmu, int *count, u8 *invalid)
32 {
33 static const u8
34 kind[16] = {
35 0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, /* 0x00 */
36 0x06, 0x06, 0x02, 0x01, 0x03, 0x04, 0x05, 0x07,
37 };
38 *count = ARRAY_SIZE(kind);
39 *invalid = 0x07;
40 return kind;
41 }
42
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
Download attachment ".config.gz" of type "application/gzip" (41446 bytes)
Powered by blists - more mailing lists