* [anolis-intel-cloud:devel-6.6 21/21] drivers/gpu/drm/yhgch/yhgch-drm/yhgch_drm_drv.c:20:13: warning: no previous prototype for 'yhgch_drm_interrupt'
@ 2025-03-18 3:16 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2025-03-18 3:16 UTC (permalink / raw)
To: aubrey.li; +Cc: oe-kbuild-all
tree: https://gitee.com/anolis/intel-cloud-kernel.git devel-6.6
head: 0e71e11c7c57c6a824d6a2a6d48ef99568a94b3b
commit: 5beb05c06d06e80489ab0fb616cfbc42b94e19e6 [21/21] anolis: drm/yhgch/yhgch-drm: rename inspur-drm to yhgch-drm
config: x86_64-allyesconfig (https://download.01.org/0day-ci/archive/20250318/202503181104.PG4g7AR6-lkp@intel.com/config)
compiler: gcc-12 (Debian 12.2.0-14) 12.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250318/202503181104.PG4g7AR6-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/202503181104.PG4g7AR6-lkp@intel.com/
All warnings (new ones prefixed by >>):
>> drivers/gpu/drm/yhgch/yhgch-drm/yhgch_drm_drv.c:20:13: warning: no previous prototype for 'yhgch_drm_interrupt' [-Wmissing-prototypes]
20 | irqreturn_t yhgch_drm_interrupt(int irq, void *arg)
| ^~~~~~~~~~~~~~~~~~~
vim +/yhgch_drm_interrupt +20 drivers/gpu/drm/yhgch/yhgch-drm/yhgch_drm_drv.c
18
19 DEFINE_DRM_GEM_FOPS(yhgch_fops);
> 20 irqreturn_t yhgch_drm_interrupt(int irq, void *arg)
21 {
22 struct drm_device *dev = (struct drm_device *)arg;
23 struct yhgch_drm_private *priv =
24 (struct yhgch_drm_private *)dev->dev_private;
25 u32 status;
26
27 status = readl(priv->mmio + INSPUR_RAW_INTERRUPT);
28
29 if (status & INSPUR_RAW_INTERRUPT_VBLANK(1)) {
30 writel(INSPUR_RAW_INTERRUPT_VBLANK(1),
31 priv->mmio + INSPUR_RAW_INTERRUPT);
32 drm_handle_vblank(dev, 0);
33 }
34
35 return IRQ_HANDLED;
36 }
37
--
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:[~2025-03-18 3:19 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-03-18 3:16 [anolis-intel-cloud:devel-6.6 21/21] drivers/gpu/drm/yhgch/yhgch-drm/yhgch_drm_drv.c:20:13: warning: no previous prototype for 'yhgch_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.