From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id 2BE59EE4996 for ; Mon, 21 Aug 2023 22:54:21 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id AAF17280003; Mon, 21 Aug 2023 18:54:20 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id A5F9794000B; Mon, 21 Aug 2023 18:54:20 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 9023D280003; Mon, 21 Aug 2023 18:54:20 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0011.hostedemail.com [216.40.44.11]) by kanga.kvack.org (Postfix) with ESMTP id 7EDB194000B for ; Mon, 21 Aug 2023 18:54:20 -0400 (EDT) Received: from smtpin07.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay03.hostedemail.com (Postfix) with ESMTP id 5B13FA0136 for ; Mon, 21 Aug 2023 22:54:20 +0000 (UTC) X-FDA: 81149617080.07.9CB4AA5 Received: from mgamail.intel.com (mgamail.intel.com [192.55.52.43]) by imf16.hostedemail.com (Postfix) with ESMTP id 6A685180005 for ; Mon, 21 Aug 2023 22:54:18 +0000 (UTC) Authentication-Results: imf16.hostedemail.com; dkim=pass header.d=intel.com header.s=Intel header.b=MJcyXIA5; spf=pass (imf16.hostedemail.com: domain of lkp@intel.com designates 192.55.52.43 as permitted sender) smtp.mailfrom=lkp@intel.com; dmarc=pass (policy=none) header.from=intel.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1692658458; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:content-transfer-encoding:in-reply-to: references:dkim-signature; bh=/rBfJ3G5us44P7s5zbu1OCCasa7WNl+a+JzPPMCZFGI=; b=lIIl6Nb/xAIOckiG2Ywwl11P3hQYMAufDLe0XV6HKl4Abo/2cLgtQxFrxE3e3PuqFBoM63 Q4GTtB8R/R7b8BzGzd7tVfHOfqUbNQbgAt33l/LV31Dtb5WWd9cGqelwcDQiPg+K/3HAsJ eLjBcdxZHtczmCco9LX6o0I/MqZIKmk= ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1692658458; a=rsa-sha256; cv=none; b=ce0bAU/LJzFZB9/n5PVDMqxkVmC6vtHK/1lstduZZdfxCA0mVcWxfl/TF5DWxQWX+vh+rC S3ndM15CTexsgUKTi5b0C3vTWJw9PRmaf+BdaUnu3DacfpFqmqsSW0T0LaYWRK40d/Wq3/ TWWHwJkF/C8UQxxJLhSVWJTWNVMyyUA= ARC-Authentication-Results: i=1; imf16.hostedemail.com; dkim=pass header.d=intel.com header.s=Intel header.b=MJcyXIA5; spf=pass (imf16.hostedemail.com: domain of lkp@intel.com designates 192.55.52.43 as permitted sender) smtp.mailfrom=lkp@intel.com; dmarc=pass (policy=none) header.from=intel.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1692658458; x=1724194458; h=date:from:to:cc:subject:message-id:mime-version; bh=8GBQGCXnyOKMazzGnRpCgxffapK3bQ7XaIeHtfy5aFM=; b=MJcyXIA5O0g6Rvx0lZ99Hndh6Nw05yeYegAUlL+OG1gR4kxXZVmRsIz/ xCmdSr640nBh1Xrz9UxfrrJoAnDSuqCYTc7o9vGh1r9XRAEUr1F/QZQp4 Vk4hZ3ELvq78+aozIHY2A80cSy6DOQz0R6sND55X0sxmYwNtLwn9CNj8F XZlpVEr0j1le1pAKdKOZ0RXeEdFvRkKNkRrnRWjVxP7R7io2INlyae42B VdApOBg6i0yQGrIydAmxaq9dNTkLIE2nSmjVTTDQrrNnFfULH19B65t2z MbcO0yAXri66PVeJcGe1VqsjQSWTuHXDNe/JVK7wgwP81wltSo1Z4Na8S A==; X-IronPort-AV: E=McAfee;i="6600,9927,10809"; a="460085339" X-IronPort-AV: E=Sophos;i="6.01,191,1684825200"; d="scan'208";a="460085339" Received: from orsmga006.jf.intel.com ([10.7.209.51]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 21 Aug 2023 15:54:17 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10809"; a="712935217" X-IronPort-AV: E=Sophos;i="6.01,191,1684825200"; d="scan'208";a="712935217" Received: from lkp-server02.sh.intel.com (HELO 6809aa828f2a) ([10.239.97.151]) by orsmga006.jf.intel.com with ESMTP; 21 Aug 2023 15:54:15 -0700 Received: from kbuild by 6809aa828f2a with local (Exim 4.96) (envelope-from ) id 1qYDmF-00011r-0M; Mon, 21 Aug 2023 22:54:04 +0000 Date: Tue, 22 Aug 2023 06:52:32 +0800 From: kernel test robot To: Shashank Sharma Cc: oe-kbuild-all@lists.linux.dev, Linux Memory Management List , Alex Deucher Subject: [linux-next:master 6682/11453] drivers/gpu/drm/amd/amdgpu/amdgpu_doorbell_mgr.c:123: warning: Function parameter or member 'doorbell_index' not described in 'amdgpu_doorbell_index_on_bar' Message-ID: <202308220614.h0EIBlon-lkp@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Stat-Signature: 9mhnop19mqhbqf9ccsqjwau78db1gdqg X-Rspamd-Server: rspam10 X-Rspamd-Queue-Id: 6A685180005 X-Rspam-User: X-HE-Tag: 1692658458-760564 X-HE-Meta: U2FsdGVkX1+84w50SWE2o0tJF4nP4UbHYyP7b3hNzi2iFcey+BmpsaW68IZfhAobna8KsXQhTIGz48uCO6iGl9aP3VaA5L6rEEofMgnB05KL34FbJy/blKCo7uqqW+Cz/m0xhJj0qLgLDn5ofoyzsvaFlDQyCu4OBXlRVN2uJyH1aJoRfFiDADy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ZO2mTQbiFV1W6UlOvOeJpFD8oOcAxyrHtd7BuUMdcyMfzzPtaFbbNKyVl4nkmGjPuV3n015 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master head: 47d9bb711707d15b19fad18c8e2b4b027a264a3a commit: d124aa0ac96358042ba34df091a3bfa6e77fcf6f [6682/11453] drm/amdgpu: get absolute offset from doorbell index config: i386-randconfig-i016-20230821 (https://download.01.org/0day-ci/archive/20230822/202308220614.h0EIBlon-lkp@intel.com/config) compiler: gcc-12 (Debian 12.2.0-14) 12.2.0 reproduce: (https://download.01.org/0day-ci/archive/20230822/202308220614.h0EIBlon-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/202308220614.h0EIBlon-lkp@intel.com/ All warnings (new ones prefixed by >>): >> drivers/gpu/drm/amd/amdgpu/amdgpu_doorbell_mgr.c:123: warning: Function parameter or member 'doorbell_index' not described in 'amdgpu_doorbell_index_on_bar' >> drivers/gpu/drm/amd/amdgpu/amdgpu_doorbell_mgr.c:123: warning: Excess function parameter 'db_index' description in 'amdgpu_doorbell_index_on_bar' vim +123 drivers/gpu/drm/amd/amdgpu/amdgpu_doorbell_mgr.c 110 111 /** 112 * amdgpu_doorbell_index_on_bar - Find doorbell's absolute offset in BAR 113 * 114 * @adev: amdgpu_device pointer 115 * @db_bo: doorbell object's bo 116 * @db_index: doorbell relative index in this doorbell object 117 * 118 * returns doorbell's absolute index in BAR 119 */ 120 uint32_t amdgpu_doorbell_index_on_bar(struct amdgpu_device *adev, 121 struct amdgpu_bo *db_bo, 122 uint32_t doorbell_index) > 123 { 124 int db_bo_offset; 125 126 db_bo_offset = amdgpu_bo_gpu_offset_no_check(db_bo); 127 128 /* doorbell index is 32 bit but doorbell's size is 64-bit, so *2 */ 129 return db_bo_offset / sizeof(u32) + doorbell_index * 2; 130 } 131 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki