public inbox for llvm@lists.linux.dev
 help / color / mirror / Atom feed
* [skeggsb-nouveau:00.02-gsp-rm 57/88] drivers/gpu/drm/nouveau/nvkm/subdev/instmem/nv50.c:399:1: warning: no previous prototype for function 'nv50_instmem_dtor'
@ 2023-09-09  8:49 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2023-09-09  8:49 UTC (permalink / raw)
  To: Ben Skeggs; +Cc: llvm, oe-kbuild-all

tree:   https://gitlab.freedesktop.org/skeggsb/nouveau 00.02-gsp-rm
head:   dcd62291d3f1ba328303b1617495fa4542117fc1
commit: c3960b6f161b81617f2da25b588b01263a42e43d [57/88] drm/nouveau/imem/tu102-: prepare for GSP-RM
config: arm-randconfig-r024-20230909 (https://download.01.org/0day-ci/archive/20230909/202309091636.ezwcyt2o-lkp@intel.com/config)
compiler: clang version 17.0.0 (https://github.com/llvm/llvm-project.git 4a5ac14ee968ff0ad5d2cc1ffa0299048db4c88a)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20230909/202309091636.ezwcyt2o-lkp@intel.com/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202309091636.ezwcyt2o-lkp@intel.com/

All warnings (new ones prefixed by >>):

>> drivers/gpu/drm/nouveau/nvkm/subdev/instmem/nv50.c:399:1: warning: no previous prototype for function 'nv50_instmem_dtor' [-Wmissing-prototypes]
     399 | nv50_instmem_dtor(struct nvkm_instmem *base)
         | ^
   drivers/gpu/drm/nouveau/nvkm/subdev/instmem/nv50.c:398:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
     398 | void *
         | ^
         | static 
   1 warning generated.


vim +/nv50_instmem_dtor +399 drivers/gpu/drm/nouveau/nvkm/subdev/instmem/nv50.c

   397	
   398	void *
 > 399	nv50_instmem_dtor(struct nvkm_instmem *base)
   400	{
   401		return nv50_instmem(base);
   402	}
   403	

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-09-09  8:50 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-09-09  8:49 [skeggsb-nouveau:00.02-gsp-rm 57/88] drivers/gpu/drm/nouveau/nvkm/subdev/instmem/nv50.c:399:1: warning: no previous prototype for function 'nv50_instmem_dtor' kernel test robot

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