* [android-common:android15-6.6 1/1] drivers/dma-buf/dma-buf.c:363: warning: Function parameter or member 'name' not described in 'dma_buf_set_name'
@ 2026-03-25 5:12 kernel test robot
0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2026-03-25 5:12 UTC (permalink / raw)
To: cros-kernel-buildreports; +Cc: oe-kbuild-all
tree: https://android.googlesource.com/kernel/common android15-6.6
head: 36e33448be90aea3d2e98da271b35aac511b8dc6
commit: 05811b07b50aa107b805735f20c9029b40e9a7d9 [1/1] ANDROID: dma-buf: support users to change dma_buf.name
config: x86_64-randconfig-002-20260325 (https://download.01.org/0day-ci/archive/20260325/202603251337.2IY8IHC5-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/20260325/202603251337.2IY8IHC5-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/202603251337.2IY8IHC5-lkp@intel.com/
All warnings (new ones prefixed by >>):
>> drivers/dma-buf/dma-buf.c:363: warning: Function parameter or member 'name' not described in 'dma_buf_set_name'
drivers/dma-buf/dma-buf.c:363: warning: Excess function parameter 'buf' description in 'dma_buf_set_name'
vim +363 drivers/dma-buf/dma-buf.c
348
349 /**
350 * dma_buf_set_name - Set a name to a specific dma_buf to track the usage.
351 * It could support changing the name of the dma-buf if the same
352 * piece of memory is used for multiple purpose between different devices.
353 *
354 * @dmabuf: [in] dmabuf buffer that will be renamed.
355 * @buf: [in] A piece of userspace memory that contains the name of
356 * the dma-buf.
357 *
358 * Returns 0 on success. If the dma-buf buffer is already attached to
359 * devices, return -EBUSY.
360 *
361 */
362 long dma_buf_set_name(struct dma_buf *dmabuf, const char *name)
> 363 {
364 char *buf = kstrndup(name, DMA_BUF_NAME_LEN, GFP_KERNEL);
365 if (!buf)
366 return -ENOMEM;
367
368 _dma_buf_set_name(dmabuf, buf);
369
370 return 0;
371 }
372 EXPORT_SYMBOL_GPL(dma_buf_set_name);
373
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] 2+ messages in thread* [android-common:android15-6.6 1/1] drivers/dma-buf/dma-buf.c:363: warning: Function parameter or member 'name' not described in 'dma_buf_set_name'
@ 2026-10-24 12:54 kernel test robot
0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2026-10-24 12:54 UTC (permalink / raw)
To: cros-kernel-buildreports; +Cc: oe-kbuild-all
Hi Guangming,
FYI, the error/warning still remains.
tree: https://android.googlesource.com/kernel/common android15-6.6
head: 60cf931c5a95dacbbd86483d5d0978e80a756ccd
commit: 05811b07b50aa107b805735f20c9029b40e9a7d9 [1/1] ANDROID: dma-buf: support users to change dma_buf.name
config: arm-randconfig-1001-20261020 (https://download.01.org/0day-ci/archive/20261024/202610242048.rON5p0DA-lkp@intel.com/config)
compiler: clang version 20.1.8 (https://github.com/llvm/llvm-project 87f0227cb60147a26a1eeb4fb06e3b505e9c7261)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20261024/202610242048.rON5p0DA-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/202610242048.rON5p0DA-lkp@intel.com/
All warnings (new ones prefixed by >>):
>> drivers/dma-buf/dma-buf.c:363: warning: Function parameter or member 'name' not described in 'dma_buf_set_name'
drivers/dma-buf/dma-buf.c:363: warning: Excess function parameter 'buf' description in 'dma_buf_set_name'
vim +363 drivers/dma-buf/dma-buf.c
348
349 /**
350 * dma_buf_set_name - Set a name to a specific dma_buf to track the usage.
351 * It could support changing the name of the dma-buf if the same
352 * piece of memory is used for multiple purpose between different devices.
353 *
354 * @dmabuf: [in] dmabuf buffer that will be renamed.
355 * @buf: [in] A piece of userspace memory that contains the name of
356 * the dma-buf.
357 *
358 * Returns 0 on success. If the dma-buf buffer is already attached to
359 * devices, return -EBUSY.
360 *
361 */
362 long dma_buf_set_name(struct dma_buf *dmabuf, const char *name)
> 363 {
364 char *buf = kstrndup(name, DMA_BUF_NAME_LEN, GFP_KERNEL);
365 if (!buf)
366 return -ENOMEM;
367
368 _dma_buf_set_name(dmabuf, buf);
369
370 return 0;
371 }
372 EXPORT_SYMBOL_GPL(dma_buf_set_name);
373
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2026-10-24 12:55 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-03-25 5:12 [android-common:android15-6.6 1/1] drivers/dma-buf/dma-buf.c:363: warning: Function parameter or member 'name' not described in 'dma_buf_set_name' kernel test robot
-- strict thread matches above, loose matches on Subject: below --
2026-10-24 12:54 kernel test robot
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.