From nobody Tue Dec 2 00:25:20 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 98B2E49659 for ; Tue, 25 Nov 2025 02:27:34 +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=1764037657; cv=none; b=czycyAq7KLROXJt4WBELT+tu6vyWCZBWiPpCLTVppKrRMbKyZTmFwjn2fPXV1okCDHX/l1lA9LS9kwOkHd8BRjW3Dic6h+KvUu3HXuXOHxE7fUO+L9qP1Qkiq6/i8pExFQpB+PgaS5wka7nVmS8rIFuJQEzio0ENXJeHMykjZ4k= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1764037657; c=relaxed/simple; bh=T04QUEFXeYOyGUFepONl6Bclph98yjgL/KT3l10cEys=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=QFIQdxEzXb1Oh/uD7jv2vP/QBGVCd8bYac5jz29q0C+EqSKJRwXuOwHI2tMXN8fYF7TA5evov8+4BIqrnlPd84lIX8IP4hgTIGahFlFxQtONPdkF3+1kIl83/dWuQ1d20ND35dVViZ1UUUHql3tmO73ATCdnsbnF27KlV9gslo0= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (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=clKnbclw; arc=none smtp.client-ip=198.137.202.133 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (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="clKnbclw" 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=Gm9oUJjthyH/4rba4HuSIGGPYDvSrKnzWOdHnZtSSjs=; b=clKnbclwGMmgK3Zkj4KnnGSc3l 5SC6grQt0E0sqRH02uNxhISobNkBDmWdeGskmphQnjmSdYqjiieyeWyyqtAOPE3F6TEAQK3elLluR qHmgu8BRBjxstX1MdMgin5x+s2WOzWnsMGGBtbJnlDwUEaVKkhqqoKMqFez1m7gjCUsbOhdLDQHXp cQoqf8jZ3aBXIWBFQlTqtrQtfcCNhyqVBgRtov0I8OaHNCrppbZAkwEV3kuIoc4ycLjFQqyvyUy85 9Zi9rgtqtLDgO6xMzDGUARapZgAQHfXEMoDNdFoKUEjzf55m/Q48BomXDSxzHR4f5d17dFk1HAl6U baBefZvg==; Received: from [50.53.43.113] (helo=bombadil.infradead.org) by bombadil.infradead.org with esmtpsa (Exim 4.98.2 #2 (Red Hat Linux)) id 1vNimB-0000000CcN5-3wl0; Tue, 25 Nov 2025 02:27:31 +0000 From: Randy Dunlap To: linux-kernel@vger.kernel.org Cc: Randy Dunlap , Brijesh Singh , Borislav Petkov , x86@kernel.org Subject: [PATCH] x86/cc: fix enum spelling to fix kernel-doc warnings Date: Mon, 24 Nov 2025 18:27:30 -0800 Message-ID: <20251125022730.3163679-1-rdunlap@infradead.org> X-Mailer: git-send-email 2.52.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" Make the enum name in kernel-doc match the code to prevent kernel-doc warnings: Warning: include/linux/cc_platform.h:106 Enum value 'CC_ATTR_GUEST_SEV_SNP' not described in enum 'cc_attr' Warning: include/linux/cc_platform.h:106 Excess enum value '%CC_ATTR_SEV_SNP' description in 'cc_attr' Fixes: f742b90e61bb ("x86/mm: Extend cc_attr to include AMD SEV-SNP") Signed-off-by: Randy Dunlap --- Cc: Brijesh Singh Cc: Borislav Petkov Cc: x86@kernel.org --- include/linux/cc_platform.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- linux-next-20251016.orig/include/linux/cc_platform.h +++ linux-next-20251016/include/linux/cc_platform.h @@ -74,7 +74,7 @@ enum cc_attr { CC_ATTR_GUEST_UNROLL_STRING_IO, =20 /** - * @CC_ATTR_SEV_SNP: Guest SNP is active. + * @CC_ATTR_GUEST_SEV_SNP: Guest SNP is active. * * The platform/OS is running as a guest/virtual machine and actively * using AMD SEV-SNP features.