All of lore.kernel.org
 help / color / mirror / Atom feed
* [drm-misc:for-linux-next 1/2] Warning: drivers/gpu/drm/drm_gpuvm.c:1836 expecting prototype for drm_gpuvm_bo_obtain(). Prototype was for drm_gpuvm_bo_obtain_locked() instead
@ 2026-01-09  4:00 kernel test robot
  2026-01-09  8:20 ` [PATCH] drm/gpuvm: fix name in kernel doc of drm_gpuvm_bo_obtain_locked() Alice Ryhl
  0 siblings, 1 reply; 3+ messages in thread
From: kernel test robot @ 2026-01-09  4:00 UTC (permalink / raw)
  To: Alice Ryhl; +Cc: oe-kbuild-all, dri-devel, Danilo Krummrich, Boris Brezillon

tree:   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/202601091113.0b0WuRML-lkp@intel.com/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/202601091113.0b0WuRML-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/202601091113.0b0WuRML-lkp@intel.com/

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

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [PATCH] drm/gpuvm: fix name in kernel doc of drm_gpuvm_bo_obtain_locked()
  2026-01-09  4:00 [drm-misc:for-linux-next 1/2] Warning: drivers/gpu/drm/drm_gpuvm.c:1836 expecting prototype for drm_gpuvm_bo_obtain(). Prototype was for drm_gpuvm_bo_obtain_locked() instead kernel test robot
@ 2026-01-09  8:20 ` Alice Ryhl
  2026-01-09 16:22   ` Danilo Krummrich
  0 siblings, 1 reply; 3+ messages in thread
From: Alice Ryhl @ 2026-01-09  8:20 UTC (permalink / raw)
  To: lkp; +Cc: aliceryhl, bbrezillon, dakr, dri-devel, oe-kbuild-all

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 <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202601091113.0b0WuRML-lkp@intel.com/
Fixes: 9bf4ca1e699c ("drm/gpuvm: drm_gpuvm_bo_obtain() requires lock and staged mode")
Signed-off-by: Alice Ryhl <aliceryhl@google.com>
---
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(-)

diff --git a/drivers/gpu/drm/drm_gpuvm.c b/drivers/gpu/drm/drm_gpuvm.c
index 0bb115b6b59c..c75b4877ab92 100644
--- a/drivers/gpu/drm/drm_gpuvm.c
+++ b/drivers/gpu/drm/drm_gpuvm.c
@@ -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
-- 
2.52.0.457.g6b5491de43-goog


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] drm/gpuvm: fix name in kernel doc of drm_gpuvm_bo_obtain_locked()
  2026-01-09  8:20 ` [PATCH] drm/gpuvm: fix name in kernel doc of drm_gpuvm_bo_obtain_locked() Alice Ryhl
@ 2026-01-09 16:22   ` Danilo Krummrich
  0 siblings, 0 replies; 3+ messages in thread
From: Danilo Krummrich @ 2026-01-09 16:22 UTC (permalink / raw)
  To: Alice Ryhl; +Cc: lkp, bbrezillon, dri-devel, oe-kbuild-all

On Fri Jan 9, 2026 at 9:20 AM CET, Alice Ryhl wrote:
> 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 <lkp@intel.com>
> Closes: https://lore.kernel.org/oe-kbuild-all/202601091113.0b0WuRML-lkp@intel.com/
> Fixes: 9bf4ca1e699c ("drm/gpuvm: drm_gpuvm_bo_obtain() requires lock and staged mode")
> Signed-off-by: Alice Ryhl <aliceryhl@google.com>

Applied to drm-misc-next, thanks!

> ---
> 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.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2026-01-09 16:22 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-01-09  4:00 [drm-misc:for-linux-next 1/2] Warning: drivers/gpu/drm/drm_gpuvm.c:1836 expecting prototype for drm_gpuvm_bo_obtain(). Prototype was for drm_gpuvm_bo_obtain_locked() instead kernel test robot
2026-01-09  8:20 ` [PATCH] drm/gpuvm: fix name in kernel doc of drm_gpuvm_bo_obtain_locked() Alice Ryhl
2026-01-09 16:22   ` Danilo Krummrich

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.