From patchwork Tue Feb 13 22:37:55 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Randy Dunlap X-Patchwork-Id: 200785 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:bc8a:b0:106:860b:bbdd with SMTP id dn10csp948186dyb; Tue, 13 Feb 2024 18:50:32 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCXtewwe20cXPqUDbiQD9wubrRUTp3aSKusja5l9DcotufeGDSfiKePnqjvsZMBLQ9wr0iuD3BtWFGgCcwwYrVW4TO5V2Q== X-Google-Smtp-Source: AGHT+IEtsXcd6AAYeff/GFuKuLLH+yrGcLwB8irUkb6yxF44hlroxUbMuQVniwIvSSWTK2ZOzERN X-Received: by 2002:a17:903:187:b0:1db:4df0:a32e with SMTP id z7-20020a170903018700b001db4df0a32emr1492113plg.21.1707879032448; Tue, 13 Feb 2024 18:50:32 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707879032; cv=pass; d=google.com; s=arc-20160816; b=IbsymlQexhZjpGf0Kpv5RXpTiQIEcddYnYFKycUFFhUfkWt8nH4NKqkNt4mDOzibgi PNoqIEMM62SAspBUMEhjYKupqpWdAPQU32+YQXJoGf4ydmaD5DllK3BJiZkrlcYMoMQk UreYlmWMZ2ozJC3nCBdHf3HO1Xle/YpNMbSGgdAZ+rAm/kGOUgiybkSzFTbLCvDSJyFS TuMPctC5lbGaQ9eunRkntg1zvFg+UEqzWKtOeYfmIXnLfQ7zDDOsuDApmFEP/kYhmsv2 PjTzzy+aiTuNH408Xs8Er+ht9G4vo4wjoaU0I06nTALYu8wY+pWPcmWIcQafvXN3eY7E voRw== ARC-Message-Signature: i=2; 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=AWuogxr7Ulz+Dcz/mwmjE3NbKxkvlrjdQKwO2hx8vd4=; fh=+eWwhWEbyFtqCF2XEf9cmAYGn7+OMeyho2J9Ywpu13A=; b=f/B/Ip1T1eamTlRqgbJdMMzMu5swO+/Tnf5r1fVav4Q3IpfMfYlzamP3rP+pWlvQG3 7MAPdfGKqUta6nJc4vaqpfeYXXg6vrOBacVRPqB2/aCq8vbvgSI/U/PcR/sp6mqasEuD SOieaKmay1LChPorZ+71aDg7dVoaKFbN0pnE9OMBCcd59OQPUlyhwJlzN1ziKNtaUzNR 8ArCqdRuz9giqR1u3c5HPLioKN2iC2Xm+0wOY9ILI9ZdtWcHCRSnUW3ljnTHbtqXir9k lEFe2mTEO2NSG33ZxzTM0gXyPjtaPN618Hympve3vcC8W7MlGoRohv5zJxHhiOKiSOzG /b5g==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=W+P7yzee; arc=pass (i=1 dkim=pass dkdomain=infradead.org); spf=pass (google.com: domain of linux-kernel+bounces-64466-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-64466-ouuuleilei=gmail.com@vger.kernel.org" X-Forwarded-Encrypted: i=2; AJvYcCXfkIoTpJ4KaWSAxRJdfgJ7KDVhaNqdUWaxymvsGmlYbcf7KknuM3Hk1S1xMZYV7IUtSiRacjvzXc6/lMrApXAbhBZLqA== Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id h10-20020a170902f54a00b001d8a64238b5si3113062plf.174.2024.02.13.18.50.32 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 13 Feb 2024 18:50:32 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-64466-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=W+P7yzee; arc=pass (i=1 dkim=pass dkdomain=infradead.org); spf=pass (google.com: domain of linux-kernel+bounces-64466-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-64466-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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 9A964B223B3 for ; Tue, 13 Feb 2024 22:38:13 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id AEA83627EA; Tue, 13 Feb 2024 22:38:00 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="W+P7yzee" 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 C078612E59 for ; Tue, 13 Feb 2024 22:37:56 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.137.202.133 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707863878; cv=none; b=EuDIA/4ZyJdKzXiRRf7ZHZmMH+GxWWssOsSI0DIW4R4lJdAZnb2QjG3X92BtEIgWeEihSjDYNjxdE6WtwrnYkPPR9kIIi5NLOIBa+a7hPE6KqtvloNiQLERhum0twAPuhB4Q8RptAGEzypnEtkIVsXIaGNG5J6jQSl+Xez+ax1c= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707863878; c=relaxed/simple; bh=erK6GWFY7xEm2lYTQd3vIvBXye4Meuq1JC5KAD5dx2c=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=BbLuIqsSC+DYIpVJnMmYlraUUMnZK259zDYlSVZIS+9przI4lUkdYtDKYSHMJc65/bZh7Hy4zzaG2qhSYnXyCnU0yHfBT53QglzQ8WG/3DZ0UnJPv2dUbWiUOt0lXEAjYIuC7EVqfnTsjD8KkbRvgurKaN+t5IWM03UkUeLPTPA= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=infradead.org; spf=none smtp.mailfrom=infradead.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b=W+P7yzee; arc=none smtp.client-ip=198.137.202.133 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=AWuogxr7Ulz+Dcz/mwmjE3NbKxkvlrjdQKwO2hx8vd4=; b=W+P7yzeeExx5y9d7dWx2JJDp7p b3sSChkLCoxQRLv5wT5Zdz9TbK20qSgVVtRgTIL1eGoS/gmj84m41kqirwUk10SrRewTKfODukafN zM8rXBty38iRvOOxFn7aZ6qpMjy4JPAAGLfUwUu/T+vvwx0L+FHSFtwFW8aN+EUfi6egEN0vDXOKt EcL1iiYRYdWh30FZLklhZhQwAJNwgzuB0jiXiEn9QBM61pjDkHv0jIZQ0bhQXeeyXkVf0u5GbG54Z zz/WoKl99f9Q+3lM50P4x5t1YLMG9uSYGQ8tMGcjjr3KCnmBSPEzAr5+AJVI4DcO/a2Uwlgaut/73 H9Z414Yg==; Received: from [50.53.50.0] (helo=bombadil.infradead.org) by bombadil.infradead.org with esmtpsa (Exim 4.97.1 #2 (Red Hat Linux)) id 1ra1PX-0000000B663-3dZE; Tue, 13 Feb 2024 22:37:55 +0000 From: Randy Dunlap To: linux-kernel@vger.kernel.org Cc: Randy Dunlap , Thomas Gleixner , Ingo Molnar , Borislav Petkov , Dave Hansen , x86@kernel.org, Sohil Mehta Subject: [PATCH v3] x86/usercopy: fix kernel-doc function param name Date: Tue, 13 Feb 2024 14:37:55 -0800 Message-ID: <20240213223755.9872-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: 1790587462536653349 X-GMAIL-MSGID: 1790840964194838451 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 --- v2: add Rev-by: Sohil Mehta v3: fix duplication (!?) of patch description and patch diff 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)