* [skeggsb-nouveau:00.02-gsp-rm 10/88] drivers/gpu/drm/nouveau/dispnv50/disp.c:2603:1: warning: no previous prototype for function 'nv50_display_read_hw_state'
@ 2023-09-09 7:19 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2023-09-09 7:19 UTC (permalink / raw)
To: Lyude Paul; +Cc: llvm, oe-kbuild-all, Ben Skeggs
tree: https://gitlab.freedesktop.org/skeggsb/nouveau 00.02-gsp-rm
head: dcd62291d3f1ba328303b1617495fa4542117fc1
commit: c38b1778a9baee914921a6743ba924907b96caa2 [10/88] drm/nouveau/kms: Add INHERIT ioctl to nvkm/nvif for reading IOR state
config: arm-randconfig-r024-20230909 (https://download.01.org/0day-ci/archive/20230909/202309091541.fpYXkkhk-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/202309091541.fpYXkkhk-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/202309091541.fpYXkkhk-lkp@intel.com/
All warnings (new ones prefixed by >>):
>> drivers/gpu/drm/nouveau/dispnv50/disp.c:2603:1: warning: no previous prototype for function 'nv50_display_read_hw_state' [-Wmissing-prototypes]
2603 | nv50_display_read_hw_state(struct nouveau_drm *drm)
| ^
drivers/gpu/drm/nouveau/dispnv50/disp.c:2602:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
2602 | void
| ^
| static
1 warning generated.
vim +/nv50_display_read_hw_state +2603 drivers/gpu/drm/nouveau/dispnv50/disp.c
2600
2601 /* Read back the currently programmed display state */
2602 void
> 2603 nv50_display_read_hw_state(struct nouveau_drm *drm)
2604 {
2605 struct drm_device *dev = drm->dev;
2606 struct drm_encoder *encoder;
2607 struct drm_modeset_acquire_ctx ctx;
2608 struct nv50_disp *disp = nv50_disp(dev);
2609 int ret;
2610
2611 DRM_MODESET_LOCK_ALL_BEGIN(dev, ctx, 0, ret);
2612
2613 drm_for_each_encoder(encoder, dev) {
2614 if (encoder->encoder_type == DRM_MODE_ENCODER_DPMST)
2615 continue;
2616
2617 nv50_display_read_hw_or_state(dev, disp, nouveau_encoder(encoder));
2618 }
2619
2620 DRM_MODESET_LOCK_ALL_END(dev, ctx, ret);
2621 }
2622
--
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 7:19 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-09-09 7:19 [skeggsb-nouveau:00.02-gsp-rm 10/88] drivers/gpu/drm/nouveau/dispnv50/disp.c:2603:1: warning: no previous prototype for function 'nv50_display_read_hw_state' 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