All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
Cc: oe-kbuild-all@lists.linux.dev
Subject: [jsarha:topic/cros-sof-v4.19 1947/6555] drivers/gpu/drm/rcar-du/rcar_du_crtc.c:684:22: sparse: sparse: symbol 'rcar_du_crtc_mode_valid' was not declared. Should it be static?
Date: Wed, 24 Apr 2024 11:16:35 +0800	[thread overview]
Message-ID: <202404241146.ADG16jAt-lkp@intel.com> (raw)

tree:   https://github.com/jsarha/linux topic/cros-sof-v4.19
head:   d7a3e91d8d16d1ef8653deec5a1fffc4de034a0c
commit: c244a5049a14aef78319f7cea73b6992f917631b [1947/6555] UPSTREAM: drm: rcar-du: Add interlaced feature flag
config: arm64-randconfig-r111-20240422 (https://download.01.org/0day-ci/archive/20240424/202404241146.ADG16jAt-lkp@intel.com/config)
compiler: aarch64-linux-gcc (GCC) 13.2.0
reproduce: (https://download.01.org/0day-ci/archive/20240424/202404241146.ADG16jAt-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/202404241146.ADG16jAt-lkp@intel.com/

sparse warnings: (new ones prefixed by >>)
>> drivers/gpu/drm/rcar-du/rcar_du_crtc.c:684:22: sparse: sparse: symbol 'rcar_du_crtc_mode_valid' was not declared. Should it be static?
   drivers/gpu/drm/rcar-du/rcar_du_crtc.c:891:12: sparse: sparse: symbol 'rcar_du_crtc_get_crc_sources' was not declared. Should it be static?
   drivers/gpu/drm/rcar-du/rcar_du_crtc.c:684:22: warning: no previous prototype for 'rcar_du_crtc_mode_valid' [-Wmissing-prototypes]
     684 | enum drm_mode_status rcar_du_crtc_mode_valid(struct drm_crtc *crtc,
         |                      ^~~~~~~~~~~~~~~~~~~~~~~
   drivers/gpu/drm/rcar-du/rcar_du_crtc.c:891:20: warning: no previous prototype for 'rcar_du_crtc_get_crc_sources' [-Wmissing-prototypes]
     891 | const char *const *rcar_du_crtc_get_crc_sources(struct drm_crtc *crtc,
         |                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~

vim +/rcar_du_crtc_mode_valid +684 drivers/gpu/drm/rcar-du/rcar_du_crtc.c

   683	
 > 684	enum drm_mode_status rcar_du_crtc_mode_valid(struct drm_crtc *crtc,
   685					   const struct drm_display_mode *mode)
   686	{
   687		struct rcar_du_crtc *rcrtc = to_rcar_crtc(crtc);
   688		struct rcar_du_device *rcdu = rcrtc->group->dev;
   689		bool interlaced = mode->flags & DRM_MODE_FLAG_INTERLACE;
   690	
   691		if (interlaced && !rcar_du_has(rcdu, RCAR_DU_FEATURE_INTERLACED))
   692			return MODE_NO_INTERLACE;
   693	
   694		return MODE_OK;
   695	}
   696	

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

             reply	other threads:[~2024-04-24  3:16 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-04-24  3:16 kernel test robot [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-04-22 20:48 [jsarha:topic/cros-sof-v4.19 1947/6555] drivers/gpu/drm/rcar-du/rcar_du_crtc.c:684:22: sparse: sparse: symbol 'rcar_du_crtc_mode_valid' was not declared. Should it be static? kernel test robot

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=202404241146.ADG16jAt-lkp@intel.com \
    --to=lkp@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.