From patchwork Sun Feb 11 06:25:01 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Randy Dunlap X-Patchwork-Id: 199374 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:50ea:b0:106:860b:bbdd with SMTP id r10csp1816844dyd; Sat, 10 Feb 2024 23:41:14 -0800 (PST) X-Google-Smtp-Source: AGHT+IG2rpk8TFdK5hk5jUMp1rBeuu2uUAyxeP78Ds53A/GhojZW4XBAqonDXKEeVPnLO9A0fQ2U X-Received: by 2002:aa7:d40f:0:b0:561:3de1:ba36 with SMTP id z15-20020aa7d40f000000b005613de1ba36mr2302714edq.34.1707637274154; Sat, 10 Feb 2024 23:41:14 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707637274; cv=pass; d=google.com; s=arc-20160816; b=cI+PJ4wlmkemvhtyc8dOpaQcXoFv3ORb5PA7cGj8Xi01yS6NHc+MB3YICfnWC48MeG /h/bg+t5MxkCyCl2ZiDTFQksXyVsUwT3g/J4zm9lpl8yy6L+col1FmEc3ZL8bgfVA2Ou ALdWPsKyJtMGA8PF98twxKYON9opHQfM4rYXNGRbVjxw5JYtMtRcK2zeeUh88YDJlP+o 5Gridm/bWE/Xx0244+SL99uPiq4PN0vxJ2zgWnOocBeVsCGW7dw8DHLPJNp3MmMUrD1g r2RPMqfQjw9n+h85YZnvxqgoC0DyXFzRJuFS3L+2HxTsFxxEt+3lVEPlLdiyeOxf4Phu tbIQ== 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=LQIskt9qiL2WIMWkwLZ9WrQJBwOSRATJWBP6F5QNiaA=; fh=WaS816yidmzVQgWifdQs+OhIXaVe06ZcIfPWNDXicKM=; b=SYQ/lma7m8xu5QCl2zWMskyaUqn8MQpN9aYrSuKts4jD5SUgTf+4N9Pp9DnRFLu91x DctHh+CiOAebyRo3QNx/zlcZXBiNAcWxMQKxChv+RhCPneG0V7Kg2+yQo1LDtP1d9z/g 6YGIGqwo1L8SxaNFn8nWkC8VK5ylVBkvAARc/fEZo7pMJ3k9ErlBGwtc4X27ulC4RxOB f/0ziFUMWtNU44TiPaloczEVca2s8tK/ujB1MakAwS6sgff06rbcc7Fzfzu0Ja5hy0Uo 6/Y5F20grdZ+c4hFVu9yMqyFTbTu/F7kbFpZOFV2sx95MctuPFt4A67U1t4UHPSizWeI CqQQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=yYuc+ZPi; arc=pass (i=1 dkim=pass dkdomain=infradead.org); spf=pass (google.com: domain of linux-kernel+bounces-60643-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-60643-ouuuleilei=gmail.com@vger.kernel.org" X-Forwarded-Encrypted: i=2; AJvYcCWMuMC7RmW+lUy/KSfL6sWYRtA/PcpuLK6NLnk4Y6JVvKxAIeaibtDTsXILUprGTwLkGIPVPJLyqEt5xLJQes1Z9hnySA== Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id j8-20020a05640211c800b00561742b1bd6si1197956edw.408.2024.02.10.23.41.13 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 10 Feb 2024 23:41:14 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-60643-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=yYuc+ZPi; arc=pass (i=1 dkim=pass dkdomain=infradead.org); spf=pass (google.com: domain of linux-kernel+bounces-60643-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-60643-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 A5F8C1F25521 for ; Sun, 11 Feb 2024 06:25:21 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id D86D61757B; Sun, 11 Feb 2024 06:25:06 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="yYuc+ZPi" 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 C0A2417544 for ; Sun, 11 Feb 2024 06:25:02 +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=1707632704; cv=none; b=l+riljOk30sPTU14oVLhEWQKagzlSEqDIYFMa4ghN5AL4wPFF5ByhY611s65Taos6kbVlnYPD29m3+GvSyX12brEAra2T6cwy/JxdWm/98pkAYQOCEgAZz2nDLkm08tJQB3QdycmIEK4u7+pQoPO6O4qYS6UI6jHaMUtR7HbXXQ= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707632704; c=relaxed/simple; bh=L6YkMF8t7672mRyTLHrAyjD3vqBMXzFM3f86CB5kEaw=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=gvK8QVxAmLAZHbHq/KjK+RBIc9sdqEKw/Zg2XRp3GMDZuFCIW5YhvAsB6fOhRQGq8Bk7BhGCKu3daI01KNuoobtXcxOA11jIJeQIBjRnaO1pbmasr6/DWMOIrCr0nCHgdS2OjwO8zrd2GhrMiHItK7P8f3ERsXv9g/CX+6ggUTE= 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=yYuc+ZPi; 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=LQIskt9qiL2WIMWkwLZ9WrQJBwOSRATJWBP6F5QNiaA=; b=yYuc+ZPige1Dtgp4E2WoSIJqHC gJByBKw8TS6KGQ5eJC8zsQV7wi5p8DSEJbqB9kAp+hnqh3jjNYKc8LFkwNvb/Xyunx5nKXqKPjOSx sbJetz+k0XYd06HjNq2WHPKEdyqVQO0d86W6n46ZoJJLM9sgGLlaQmCWWCyL4fP8TzSGzLZD1SpQT hTbWcs7PQCru55NAannfD8uvVZMEQYyW5y+OqBQAVsjW7MVnF3+91g8VOx+IdhtQY23/h0SBKyayH gF8Oon0Xf0fz6f4FXOSvdnVZbr2qcjjenRT2SWnagHfHCHX6BmwDIgyX7FOlM3wqZIy86FMWmB1Mm ZX9s2Waw==; 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 1rZ3Gw-00000002PE5-1D7t; Sun, 11 Feb 2024 06:25:02 +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 v2] x86/usercopy: fix kernel-doc function param name Date: Sat, 10 Feb 2024 22:25:01 -0800 Message-ID: <20240211062501.16428-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: 1790587462536653349 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 From: Randy Dunlap Subject: [PATCH v2] x86/usercopy: fix kernel-doc function param name 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 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) 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)