From nobody Fri Dec 19 08:11:51 2025 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (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 1EFD7321BC for ; Sat, 16 Dec 2023 19:50:07 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=infradead.org Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=infradead.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="SKg1q+J+" DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Content-Transfer-Encoding: MIME-Version:Message-ID:Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type: Content-ID:Content-Description:In-Reply-To:References; bh=B8RmtSt9j0Sk37XFsr8jPTPVxFFvG2cLd3/RNO/nL7c=; b=SKg1q+J+wxMmHEwIV2kt4/wALt jEUhwi/N5JuW6Q3pkLWcCN3qCn5voEFThe5Vmn8GLC3vgHvxouZKXh9+9oCZzrCTyzDdt5LufZFzW ms5NmOmnRm2o7XCaQvKCDifI7I5e9ZTvZtdEviuvVRDJ8xcLN5xvAV8pgK5Y0XuuIf1AsismqCfUW UOfp+TiLRPDa97sASrBPqnYBo0uUsMHpmZ9Wq8nKiPUJyIM+bw368DHIxoboY2w/EH/zvxesGmp/a qKUqCsY38mkRoEVyguSY/9/jxRbRzJQkyDwoUc7KJRAGZ9/3NYPACf31ec67UhetO1YDZC9EKIEe8 3AmXkoDA==; Received: from [50.53.46.231] (helo=bombadil.infradead.org) by bombadil.infradead.org with esmtpsa (Exim 4.96 #2 (Red Hat Linux)) id 1rEafl-006eQT-1Y; Sat, 16 Dec 2023 19:50:05 +0000 From: Randy Dunlap To: linux-kernel@vger.kernel.org Cc: Randy Dunlap , Thomas Gleixner , Ingo Molnar , Borislav Petkov , Dave Hansen , x86@kernel.org Subject: [PATCH] x86/usercopy: fix kernel-doc function param name Date: Sat, 16 Dec 2023 11:50:04 -0800 Message-ID: <20231216195004.29040-1-rdunlap@infradead.org> X-Mailer: git-send-email 2.43.0 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Correct the function parameter name in clean_cache_range() to prevent kernel-doc warnings: usercopy_64.c:29: warning: Function parameter or member 'addr' not describe= d in 'clean_cache_range' usercopy_64.c:29: warning: Excess function parameter 'vaddr' description in= 'clean_cache_range' Signed-off-by: Randy Dunlap Cc: Thomas Gleixner Cc: Ingo Molnar Cc: Borislav Petkov Cc: Dave Hansen Cc: x86@kernel.org Reviewed-by: Sohil Mehta --- arch/x86/lib/usercopy_64.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff -- a/arch/x86/lib/usercopy_64.c b/arch/x86/lib/usercopy_64.c --- a/arch/x86/lib/usercopy_64.c +++ b/arch/x86/lib/usercopy_64.c @@ -18,7 +18,7 @@ #ifdef CONFIG_ARCH_HAS_UACCESS_FLUSHCACHE /** * clean_cache_range - write back a cache range with CLWB - * @vaddr: virtual start address + * @addr: virtual start address * @size: number of bytes to write back * * Write back a cache range using the CLWB (cache line write back)