Building the Linux kernel with Clang and LLVM
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Daniel J Blueman <daniel@quora.org>
Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev,
	Rob Clark <robin.clark@oss.qualcomm.com>
Subject: [drm-msm:msm-next 9/11] drivers/gpu/drm/msm/msm_gem_shrinker.c:105:58: warning: omitting the parameter name in a function definition is a C2x extension
Date: Mon, 18 May 2026 07:33:21 +0800	[thread overview]
Message-ID: <202605180736.rtcSO0ls-lkp@intel.com> (raw)

tree:   https://gitlab.freedesktop.org/drm/msm.git msm-next
head:   db339b6bc9f234b4883eb02946ea01d8d9faa11c
commit: 3392291fc509d8ad6e4ad90f15b0a193f721cbc9 [9/11] drm/msm: Fix shrinker deadlock
config: riscv-allyesconfig (https://download.01.org/0day-ci/archive/20260518/202605180736.rtcSO0ls-lkp@intel.com/config)
compiler: clang version 16.0.6 (https://github.com/llvm/llvm-project 7cbf1a2591520c2491aa35339f227775f4d3adf6)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260518/202605180736.rtcSO0ls-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/202605180736.rtcSO0ls-lkp@intel.com/

All warnings (new ones prefixed by >>):

>> drivers/gpu/drm/msm/msm_gem_shrinker.c:105:58: warning: omitting the parameter name in a function definition is a C2x extension [-Wc2x-extensions]
   purge(struct drm_gem_object *obj, struct ww_acquire_ctx *)
                                                            ^
   drivers/gpu/drm/msm/msm_gem_shrinker.c:117:58: warning: omitting the parameter name in a function definition is a C2x extension [-Wc2x-extensions]
   evict(struct drm_gem_object *obj, struct ww_acquire_ctx *)
                                                            ^
   2 warnings generated.


vim +105 drivers/gpu/drm/msm/msm_gem_shrinker.c

   103	
   104	static bool
 > 105	purge(struct drm_gem_object *obj, struct ww_acquire_ctx *)
   106	{
   107		if (!is_purgeable(to_msm_bo(obj)))
   108			return false;
   109	
   110		if (msm_gem_active(obj))
   111			return false;
   112	
   113		return with_vm_locks(msm_gem_purge, obj);
   114	}
   115	

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

                 reply	other threads:[~2026-05-17 23:34 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=202605180736.rtcSO0ls-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=daniel@quora.org \
    --cc=llvm@lists.linux.dev \
    --cc=oe-kbuild-all@lists.linux.dev \
    --cc=robin.clark@oss.qualcomm.com \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox