All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: aubrey.li@linux.intel.com
Cc: oe-kbuild-all@lists.linux.dev
Subject: [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'
Date: Tue, 18 Mar 2025 11:16:07 +0800	[thread overview]
Message-ID: <202503181104.PG4g7AR6-lkp@intel.com> (raw)

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

                 reply	other threads:[~2025-03-18  3:19 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=202503181104.PG4g7AR6-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=aubrey.li@linux.intel.com \
    --cc=oe-kbuild-all@lists.linux.dev \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.