mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* drivers/virtio/virtio_dma_buf.c:41: warning: Function parameter or member 'dma_buf' not described in 'virtio_dma_buf_attach'
@ 2023-12-10 20:37 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2023-12-10 20:37 UTC (permalink / raw)
  To: David Stevens; +Cc: oe-kbuild-all, linux-kernel, Gerd Hoffmann

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   3a87498869d6d1e7347cd01f337a77984604eb5e
commit: a0308938ec81cd0dca9d75833ec0dd1b8708917e virtio: add dma-buf support for exported objects
date:   3 years, 4 months ago
config: parisc-randconfig-m041-20230821 (https://download.01.org/0day-ci/archive/20231211/202312110445.z6bDltrY-lkp@intel.com/config)
compiler: hppa-linux-gcc (GCC) 12.3.0
reproduce: (https://download.01.org/0day-ci/archive/20231211/202312110445.z6bDltrY-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/202312110445.z6bDltrY-lkp@intel.com/

All warnings (new ones prefixed by >>):

>> drivers/virtio/virtio_dma_buf.c:41: warning: Function parameter or member 'dma_buf' not described in 'virtio_dma_buf_attach'
>> drivers/virtio/virtio_dma_buf.c:41: warning: Function parameter or member 'attach' not described in 'virtio_dma_buf_attach'


vim +41 drivers/virtio/virtio_dma_buf.c

    35	
    36	/**
    37	 * virtio_dma_buf_attach - mandatory attach callback for virtio dma-bufs
    38	 */
    39	int virtio_dma_buf_attach(struct dma_buf *dma_buf,
    40				  struct dma_buf_attachment *attach)
  > 41	{
    42		int ret;
    43		const struct virtio_dma_buf_ops *ops =
    44			container_of(dma_buf->ops,
    45				     const struct virtio_dma_buf_ops, ops);
    46	
    47		if (ops->device_attach) {
    48			ret = ops->device_attach(dma_buf, attach);
    49			if (ret)
    50				return ret;
    51		}
    52		return 0;
    53	}
    54	EXPORT_SYMBOL(virtio_dma_buf_attach);
    55	

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-12-10 20:40 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-12-10 20:37 drivers/virtio/virtio_dma_buf.c:41: warning: Function parameter or member 'dma_buf' not described in 'virtio_dma_buf_attach' kernel test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®