From patchwork Sat Dec 16 19:50:04 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Randy Dunlap X-Patchwork-Id: 179919 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:24d3:b0:fb:cd0c:d3e with SMTP id r19csp398323dyi; Sat, 16 Dec 2023 11:50:25 -0800 (PST) X-Google-Smtp-Source: AGHT+IGAbh63ZZ4i0+oeGBV+sYLl49DwnPamtrJReWGUZv66JcxGMoyqMGz8TfFfzqjnQwjm51Jg X-Received: by 2002:adf:cf12:0:b0:336:6375:b02e with SMTP id o18-20020adfcf12000000b003366375b02emr49018wrj.139.1702756225193; Sat, 16 Dec 2023 11:50:25 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702756225; cv=none; d=google.com; s=arc-20160816; b=I3soi/OfRM4gCbTcLTNuLybRo6L88sUIqz/5BE6/AfTrd371oGBt09kRPIG3c/aXNV lZqqL9EUIvqYUewZ5fDN56n94XoG+BxLSC/KoaYtnEsF771yQxU6WVydHyEr8AOML3oY SL3peLRXoyOHNowbCqLId3zfJSGB6vmTYKC8fU4IIHqePWnlaPA5x5JeIfc6HLwaK9PR U+qSV0XJiWbwT9SKT8HlgFEz2FIC5H+aYlQSwLEMmOczbFGrqABp47Kgq1RIprat4HNh pneScrz/Kb5I/B1+yq8qjywbEzBeya5GZxX/8ezb9DxU871DIbdm1SucDHasLpRNfQDF 9q1Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from:dkim-signature; bh=B8RmtSt9j0Sk37XFsr8jPTPVxFFvG2cLd3/RNO/nL7c=; fh=wjzWRtN/xYGnn82q+R9UnZJVTfNCDDfxOelQuv/78fU=; b=kxKwxzV5XBYm5av0klhXcldot9ayuvFc0VNmfXevNpRWJMWP557/nEyfm8tAIyef6G mHjrOm3/S66Va0G2Q2t7sVLYA72WSR7iFgSO1vv/YSzK5yoEI2SlONfFiq1WMFw5fgGr iQnvUzZLPt6hbqvpy8NwcKPLVgZsf1B/nr+DW9G8nDWAdsBNulZxeWGcCBQTY2LK6sy9 /tQcM6gkiFq1U5h1IW8V1ND7hHeFtgRXjSBVcljWYxNP3olGnNbG+M9qP3MxEy9b0+w0 NCc30ClYM/hKAYiwIAWr/ME3r0WqgGtjh3u4iGU2jhYQEuxn2V0c6qEEVGGQKPOkWUH1 +BXA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=SKg1q+J+; spf=pass (google.com: domain of linux-kernel+bounces-2350-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-2350-ouuuleilei=gmail.com@vger.kernel.org" Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id t5-20020a056402524500b005522bfc6081si3493263edd.81.2023.12.16.11.50.25 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 16 Dec 2023 11:50:25 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-2350-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=SKg1q+J+; spf=pass (google.com: domain of linux-kernel+bounces-2350-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-2350-ouuuleilei=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id CD6D31F2374E for ; Sat, 16 Dec 2023 19:50:24 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 2EBFA328DE; Sat, 16 Dec 2023 19:50:11 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="SKg1q+J+" X-Original-To: linux-kernel@vger.kernel.org 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 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 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1785469311781591610 X-GMAIL-MSGID: 1785469311781591610 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 described 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)