* [openeuler:OLK-5.10 19206/30000] drivers/gpu/drm/inspur/inspur_drm_drv.c:30:13: warning: no previous prototype for 'inspur_drm_interrupt'
@ 2024-09-14 0:21 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2024-09-14 0:21 UTC (permalink / raw)
To: kernel, Hongchen Zhang; +Cc: oe-kbuild-all
Hi Hongchen,
FYI, the error/warning still remains.
tree: https://gitee.com/openeuler/kernel.git OLK-5.10
head: 5a1d9701155c6908c76c68951170f10279685143
commit: b9d65551a3adfa87a7c5d33391187ee60a1b501d [19206/30000] drm: add inspur drm driver support
config: arm64-randconfig-002-20240914 (https://download.01.org/0day-ci/archive/20240914/202409140804.IiV0APec-lkp@intel.com/config)
compiler: aarch64-linux-gcc (GCC) 14.1.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240914/202409140804.IiV0APec-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/202409140804.IiV0APec-lkp@intel.com/
All warnings (new ones prefixed by >>):
>> drivers/gpu/drm/inspur/inspur_drm_drv.c:30:13: warning: no previous prototype for 'inspur_drm_interrupt' [-Wmissing-prototypes]
30 | irqreturn_t inspur_drm_interrupt(int irq, void *arg)
| ^~~~~~~~~~~~~~~~~~~~
drivers/gpu/drm/inspur/inspur_drm_drv.c: In function 'inspur_pci_probe':
drivers/gpu/drm/inspur/inspur_drm_drv.c:379:36: warning: unused variable 'priv' [-Wunused-variable]
379 | struct inspur_drm_private *priv;
| ^~~~
vim +/inspur_drm_interrupt +30 drivers/gpu/drm/inspur/inspur_drm_drv.c
27
28
29 DEFINE_DRM_GEM_FOPS(inspur_fops);
> 30 irqreturn_t inspur_drm_interrupt(int irq, void *arg)
31 {
32 struct drm_device *dev = (struct drm_device *)arg;
33 struct inspur_drm_private *priv =
34 (struct inspur_drm_private *)dev->dev_private;
35 u32 status;
36
37 status = readl(priv->mmio + INSPUR_RAW_INTERRUPT);
38
39 if (status & INSPUR_RAW_INTERRUPT_VBLANK(1)) {
40 writel(INSPUR_RAW_INTERRUPT_VBLANK(1),
41 priv->mmio + INSPUR_RAW_INTERRUPT);
42 drm_handle_vblank(dev, 0);
43 }
44
45 return IRQ_HANDLED;
46 }
47
--
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:[~2024-09-14 0:21 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-09-14 0:21 [openeuler:OLK-5.10 19206/30000] drivers/gpu/drm/inspur/inspur_drm_drv.c:30:13: warning: no previous prototype for 'inspur_drm_interrupt' kernel test robot
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.