All of lore.kernel.org
 help / color / mirror / Atom feed
* [vireshk:virtio/msg-xen 2/17] include/linux/dma-buf.h:706:52: warning: omitting the parameter name in a function definition is a C23 extension
@ 2026-01-15 15:07 kernel test robot
  0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2026-01-15 15:07 UTC (permalink / raw)
  To: Viresh Kumar; +Cc: oe-kbuild-all

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/vireshk/linux.git virtio/msg-xen
head:   2978a84b82627a16bee8e2cd5718a51de47e7d5e
commit: 085cecef6ce6cb8d0cbc931f9425224def2164ec [2/17] dma-buf: add no-op stubs when CONFIG_DMA_SHARED_BUFFER is disabled
config: arm-allnoconfig (https://download.01.org/0day-ci/archive/20260115/202601152337.KBfCEzmN-lkp@intel.com/config)
compiler: clang version 22.0.0git (https://github.com/llvm/llvm-project 9b8addffa70cee5b2acc5454712d9cf78ce45710)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260115/202601152337.KBfCEzmN-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/202601152337.KBfCEzmN-lkp@intel.com/

All warnings (new ones prefixed by >>):

   In file included from io_uring/io_uring.c:101:
   In file included from io_uring/zcrx.h:6:
>> include/linux/dma-buf.h:706:52: warning: omitting the parameter name in a function definition is a C23 extension [-Wc23-extensions]
     706 |                                struct vm_area_struct *vma, unsigned long)
         |                                                                         ^
   1 warning generated.


vim +706 include/linux/dma-buf.h

   699	
   700	static inline void
   701	dma_buf_unmap_attachment_unlocked(struct dma_buf_attachment *attach,
   702					  struct sg_table *sg_table,
   703					  enum dma_data_direction direction) { }
   704	
   705	static inline int dma_buf_mmap(struct dma_buf *dmabuf,
 > 706				       struct vm_area_struct *vma, unsigned long)
   707	{
   708		return -EOPNOTSUPP;
   709	}
   710	

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

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

* [vireshk:virtio/msg-xen 2/17] include/linux/dma-buf.h:706:52: warning: omitting the parameter name in a function definition is a C23 extension
@ 2026-04-07  6:20 kernel test robot
  0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2026-04-07  6:20 UTC (permalink / raw)
  To: Viresh Kumar; +Cc: oe-kbuild-all

Hi Viresh,

FYI, the error/warning still remains.

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/vireshk/linux.git virtio/msg-xen
head:   b6c438e7620f0d55318710ee8705e3c173c968bf
commit: 085cecef6ce6cb8d0cbc931f9425224def2164ec [2/17] dma-buf: add no-op stubs when CONFIG_DMA_SHARED_BUFFER is disabled
config: um-defconfig (https://download.01.org/0day-ci/archive/20260407/202604071417.2Ruqru2s-lkp@intel.com/config)
compiler: clang version 23.0.0git (https://github.com/llvm/llvm-project c80443cd37b2e2788cba67ffa180a6331e5f0791)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260407/202604071417.2Ruqru2s-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/202604071417.2Ruqru2s-lkp@intel.com/

All warnings (new ones prefixed by >>):

   In file included from io_uring/io_uring.c:101:
   In file included from io_uring/zcrx.h:6:
>> include/linux/dma-buf.h:706:52: warning: omitting the parameter name in a function definition is a C23 extension [-Wc23-extensions]
     706 |                                struct vm_area_struct *vma, unsigned long)
         |                                                                         ^
   1 warning generated.


vim +706 include/linux/dma-buf.h

   699	
   700	static inline void
   701	dma_buf_unmap_attachment_unlocked(struct dma_buf_attachment *attach,
   702					  struct sg_table *sg_table,
   703					  enum dma_data_direction direction) { }
   704	
   705	static inline int dma_buf_mmap(struct dma_buf *dmabuf,
 > 706				       struct vm_area_struct *vma, unsigned long)
   707	{
   708		return -EOPNOTSUPP;
   709	}
   710	

-- 
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-04-07  6:20 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-01-15 15:07 [vireshk:virtio/msg-xen 2/17] include/linux/dma-buf.h:706:52: warning: omitting the parameter name in a function definition is a C23 extension kernel test robot
  -- strict thread matches above, loose matches on Subject: below --
2026-04-07  6:20 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.