lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202312110445.z6bDltrY-lkp@intel.com>
Date:   Mon, 11 Dec 2023 04:37:35 +0800
From:   kernel test robot <lkp@...el.com>
To:     David Stevens <stevensd@...omium.org>
Cc:     oe-kbuild-all@...ts.linux.dev, linux-kernel@...r.kernel.org,
        Gerd Hoffmann <kraxel@...hat.com>
Subject: drivers/virtio/virtio_dma_buf.c:41: warning: Function parameter or
 member 'dma_buf' not described in 'virtio_dma_buf_attach'

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ