Received: by 2002:a05:7412:3b8b:b0:fc:a2b0:25d7 with SMTP id nd11csp1835415rdb; Sat, 10 Feb 2024 22:25:13 -0800 (PST) X-Google-Smtp-Source: AGHT+IGNqoy/mbIBUXMzMEFSe+p9h+MbzQ/ZPH0mplo2UGHHoCbSjlNN5T4nKlWSdTUuRlMKi9S8 X-Received: by 2002:a0c:dd0d:0:b0:68c:c74a:2003 with SMTP id u13-20020a0cdd0d000000b0068cc74a2003mr4234746qvk.14.1707632713221; Sat, 10 Feb 2024 22:25:13 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707632713; cv=pass; d=google.com; s=arc-20160816; b=T0D3lYfJH7WRobSB1UXXAEAtNTCkviVgZH4Fy7OBpUQz36Nguw4yl6QGhN2HXn35Gn z3SsBe4KsT3AjdIkKbL0P/IzPeXEfDY+GTj+f0MO2A0jxPnedFoepmTSCrYE5g6yD65i tdLrgic1oMaZ8xygsQp7mvuKI075LwbOLxqlfZDuHEMCOmZI+hC3826QOO5uoBmr7zME FhduNXg8Pgj7/UQN7ViqBnEdCeBpeMKAg68eT4m1qrcOSCXjq9Sp/Ny6k942oDri1aYU v6ea0/ubSU6VSff1hB5NODOBcFuP7Do2DPKA2bIa8vA42m0HRSg+XqArcTMIdBdcNZgC 0aAA== 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=AmtYz2AldZyhaqVZrI5MTnu0hEYmbb82HKUdURuB8o8=; b=E/Ket/fIQZjc53NT3NxssZLA24xLhPtv8837Y/xifJXOoT4ees0tnowsmVa3saAlBW mECkL49G5ntUiZq11rK+eC0C99PJogW4Wph4Ln8qowwqqTexM39N5JQoSO43njgyCj/O Yn1AoQPnVQvnutKhLnzGcZcTr8GBGT19Mqsq2/qUwSps95//s97YkxG1ZmMobTDRxqNj 6e+du/UNpM04W7IbmR50+QSKsF/oMp4MKFb3t0ifoYFPHflkDqdMkNAdGUN++hhn8N2J tXJ611DrgKeWhg37RNXybDgMV9w0HTUMBFy9GMRs7wBWPrKRLE0k0+YbEjg0Cd+P3iQm 5aEA==; 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-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-60643-linux.lists.archive=gmail.com@vger.kernel.org" X-Forwarded-Encrypted: i=2; AJvYcCXtP4WQRQI28nE6BadnSKDXpaD8h6vGh+3tKYS5a8PGw1BCgURuLjDbDbxvahD/3VNBmkBjpG+yqlBTynIxc7t0aQlXUIvgcl5Kg0AFmA== Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id jk13-20020ad45d4d000000b0068cd864e3a6si4460880qvb.445.2024.02.10.22.25.13 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 10 Feb 2024 22:25:13 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-60643-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; 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-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-60643-linux.lists.archive=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 ny.mirrors.kernel.org (Postfix) with ESMTPS id A7EAF1C23A35 for ; Sun, 11 Feb 2024 06:25:12 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 1009C17556; Sun, 11 Feb 2024 06:25:05 +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 Content-Transfer-Encoding: 8bit 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)