Re: [PATCH drm-misc-next] drm/nouveau: uapi: don't pass NO_PREFETCH flag implicitly
From: kernel test robot
Date: Wed Aug 23 2023 - 08:48:09 EST
Hi Danilo,
kernel test robot noticed the following build warnings:
[auto build test WARNING on ad1367f831f8743746a1f49705c28e36a7c95525]
url: https://github.com/intel-lab-lkp/linux/commits/Danilo-Krummrich/drm-nouveau-uapi-don-t-pass-NO_PREFETCH-flag-implicitly/20230823-074237
base: ad1367f831f8743746a1f49705c28e36a7c95525
patch link: https://lore.kernel.org/r/20230822234139.11185-1-dakr%40redhat.com
patch subject: [PATCH drm-misc-next] drm/nouveau: uapi: don't pass NO_PREFETCH flag implicitly
reproduce: (https://download.01.org/0day-ci/archive/20230823/202308232030.0r1irPMu-lkp@xxxxxxxxx/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@xxxxxxxxx>
| Closes: https://lore.kernel.org/oe-kbuild-all/202308232030.0r1irPMu-lkp@xxxxxxxxx/
All warnings (new ones prefixed by >>):
>> ./include/uapi/drm/nouveau_drm.h:344: warning: Incorrect use of kernel-doc format: * flags: the flags for this push buffer mapping
>> ./include/uapi/drm/nouveau_drm.h:348: warning: Function parameter or member 'flags' not described in 'drm_nouveau_exec_push'
vim +344 ./include/uapi/drm/nouveau_drm.h
327
328 /**
329 * struct drm_nouveau_exec_push - EXEC push operation
330 *
331 * This structure represents a single EXEC push operation. UMDs should pass an
332 * array of this structure via struct drm_nouveau_exec's &push_ptr field.
333 */
334 struct drm_nouveau_exec_push {
335 /**
336 * @va: the virtual address of the push buffer mapping
337 */
338 __u64 va;
339 /**
340 * @va_len: the length of the push buffer mapping
341 */
342 __u32 va_len;
343 /**
> 344 * flags: the flags for this push buffer mapping
345 */
346 __u32 flags;
347 #define DRM_NOUVEAU_EXEC_PUSH_NO_PREFETCH 0x1
> 348 };
349
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki