Warning: drivers/gpu/drm/drm_gpuvm.c:1836 expecting prototype for drm_gpuvm_bo_obtain(). Prototype was for drm_gpuvm_bo_obtain_locked() instead
Subsystems (3)
kernel test robot
build bottree: https://gitlab.freedesktop.org/drm/misc/kernel.git for-linux-next head: ec27500c8f2b65a3be6ce39a5844d6d246d1b2b0 commit: 9bf4ca1e699c272defe9636f9812ff33a448d650 [1/2] drm/gpuvm: drm_gpuvm_bo_obtain() requires lock and staged mode config: x86_64-rhel-9.4 (https://download.01.org/0day-ci/archive/20260109/[email protected]/config) compiler: gcc-14 (Debian 14.2.0-19) 14.2.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260109/[email protected]/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 <[email protected]>
| Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/
All warnings (new ones prefixed by >>):
>> Warning: drivers/gpu/drm/drm_gpuvm.c:1836 expecting prototype for drm_gpuvm_bo_obtain(). Prototype was for drm_gpuvm_bo_obtain_locked() instead
Signature · 2 lines
0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki
Alice Ryhl
reviewerPATCH 1/1 drm/gpuvm: fix name in kernel doc of drm_gpuvm_bo_obtain_locked()
When renaming this function, the name in the docs was not updated. This causes a KernelDoc warning. Thus, fix it.
---
Does anyone know what the config option to enable these warnings in my own build is?
drivers/gpu/drm/drm_gpuvm.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/gpu/drm/drm_gpuvm.c +2 -2
@@ -1815,8 +1815,8 @@ drm_gpuvm_bo_find(struct drm_gpuvm *gpuvm,EXPORT_SYMBOL_GPL (drm_gpuvm_bo_find);/** -* drm_gpuvm_bo_obtain() - obtains an instance of the &drm_gpuvm_bo for the -* given &drm_gpuvm and &drm_gem_object +* drm_gpuvm_bo_obtain_locked() - obtains an instance of the &drm_gpuvm_bo for +* the given &drm_gpuvm and &drm_gem_object * @gpuvm: The &drm_gpuvm the @obj is mapped in. * @obj: The &drm_gem_object being mapped in the @gpuvm. *
base-commit: ec27500c8f2b65a3be6ce39a5844d6d246d1b2b0
Signature · 1 line
2.52.0.457.g6b5491de43-goog
Re: [PATCH] drm/gpuvm: fix name in kernel doc of drm_gpuvm_bo_obtain_locked()
Quoted 7 lines · Alice Ryhl
When renaming this function, the name in the docs was not updated. This causes a KernelDoc warning. Thus, fix it.
Reported-by kernel test robot <[email protected]>Fixes 9bf4ca1e699c ("drm/gpuvm: drm_gpuvm_bo_obtain() requires lock and staged mode")Signed-off-by Alice Ryhl <[email protected]>
Applied to drm-misc-next, thanks!
Quoted 3 lines
---
Does anyone know what the config option to enable these warnings in my own build is?
I think any of the documentation targets should do the trick, I usually use the htmldocs make target.