Building the Linux kernel with Clang and LLVM
 help / color / mirror / Atom feed
* [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
@ 2026-05-17 23:33 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-05-17 23:33 UTC (permalink / raw)
  To: Daniel J Blueman; +Cc: llvm, oe-kbuild-all, Rob Clark

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2026-05-17 23:34 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-05-17 23:33 [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 kernel test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox