From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.14]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 04C2417E01B for ; Thu, 2 Jan 2025 16:37:57 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=192.198.163.14 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1735835904; cv=none; b=psFAiIsADoySWCAEL9N7Fi8FRfMTa4BJjlZ8PpszKLx2xSdKTCqVbgAI/UylJ47WlLNbQHd/1cQB60ql8bkl2S11NpiYQFNY9eWYdwEJ47NaCi5FgVQ0zMh2gZMwH3/aqQVIvLnIyn8eLsVQLxohDlJrU5G+RNPCDoPhF5KCSOs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1735835904; c=relaxed/simple; bh=4aue3GyUxFqGlzp4anvA0J/aA5U3MUGX80zoWerbIaI=; h=Date:From:To:Cc:Subject:Message-ID:MIME-Version:Content-Type: Content-Disposition; b=t+dJ0bPsfwnS1j8Wvy6SgRdyy2bTVHpLmT42moYp0TqIx/L7o3DO21KlEE4Hbj432PODtg9vymcQHHSEz/vTmkuQ5Y9DYJf7UMWV4GxVgttEiLYopeNeps9FZ2EYhJKCmz6qBNQG5rSGGZrrQyZJIK5Ebt1DEioJ4knit6sEq3Y= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com; spf=pass smtp.mailfrom=intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=X2is4FOw; arc=none smtp.client-ip=192.198.163.14 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=intel.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="X2is4FOw" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1735835878; x=1767371878; h=date:from:to:cc:subject:message-id:mime-version; bh=4aue3GyUxFqGlzp4anvA0J/aA5U3MUGX80zoWerbIaI=; b=X2is4FOwReLuxDQXD52ei6yhPabXpuCpFbnu0svDzSXdQ6TNrrcbTJWH +SY71aUo30UCgX48aNsjsVw/B6RMNmZc6AwR0/M5QG+090WWaePyGpHa5 y6amGWFUXFUm0Z2zPTIeylmrGHEalPq5Sb30iwnH08B2JRpNd59EtOZri uhoQPCFGV2Dwwq6w7CRxG6UAIR1cc6FoR9WdGnXJexVNGKj83kbZcesUH ZpYFL9WNm45g/GAzNhEKSqhKBuBG5ErBWzc44RYiPS2OUy3I+Ktri92Ez i0Vwh+l8rpjRg3JQfnZtWwHlxTtA2TckJbsXH2mNjxxXM9mGSpKDqSS7d Q==; X-CSE-ConnectionGUID: Lo6p8DPOSQWQA4uDdAKu9Q== X-CSE-MsgGUID: y2F2xTuQSZO+bPp0CpwghA== X-IronPort-AV: E=McAfee;i="6700,10204,11303"; a="36304329" X-IronPort-AV: E=Sophos;i="6.12,285,1728975600"; d="scan'208";a="36304329" Received: from orviesa009.jf.intel.com ([10.64.159.149]) by fmvoesa108.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 02 Jan 2025 08:37:54 -0800 X-CSE-ConnectionGUID: gVwiqYDSQ7asVkHg1px2mg== X-CSE-MsgGUID: DW2JS8EZRYqeDB44+N1UMg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.12,285,1728975600"; d="scan'208";a="101380204" Received: from lkp-server01.sh.intel.com (HELO d63d4d77d921) ([10.239.97.150]) by orviesa009.jf.intel.com with ESMTP; 02 Jan 2025 08:37:53 -0800 Received: from kbuild by d63d4d77d921 with local (Exim 4.96) (envelope-from ) id 1tTOCk-0008e7-0f; Thu, 02 Jan 2025 16:37:50 +0000 Date: Fri, 3 Jan 2025 00:37:04 +0800 From: kernel test robot To: David Stevens Cc: oe-kbuild-all@lists.linux.dev, linux-kernel@vger.kernel.org, Gerd Hoffmann Subject: drivers/virtio/virtio_dma_buf.c:41: warning: Function parameter or struct member 'dma_buf' not described in 'virtio_dma_buf_attach' Message-ID: <202501030012.OWkcvg5F-lkp@intel.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 56e6a3499e14716b9a28a307bb6d18c10e95301e commit: a0308938ec81cd0dca9d75833ec0dd1b8708917e virtio: add dma-buf support for exported objects date: 4 years, 5 months ago config: csky-randconfig-051-20240716 (https://download.01.org/0day-ci/archive/20250103/202501030012.OWkcvg5F-lkp@intel.com/config) compiler: csky-linux-gcc (GCC) 12.4.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250103/202501030012.OWkcvg5F-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 | Closes: https://lore.kernel.org/oe-kbuild-all/202501030012.OWkcvg5F-lkp@intel.com/ All warnings (new ones prefixed by >>): >> drivers/virtio/virtio_dma_buf.c:41: warning: Function parameter or struct member 'dma_buf' not described in 'virtio_dma_buf_attach' >> drivers/virtio/virtio_dma_buf.c:41: warning: Function parameter or struct 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