From patchwork Sat Dec 16 17:16:10 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Randy Dunlap X-Patchwork-Id: 13495695 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 53C532E65C; Sat, 16 Dec 2023 17:16:11 +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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="OONG6yX9" 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=JIQyBU2dMmtfHPrerB2o6NxM4MWH9UtHkA27Czb7HVU=; b=OONG6yX9CUnwBFMoGDHeu+eMK3 rgwdYV9lMHkrRZirjVuLGjbKDeKlD3sFKH6Fv0CGCk9ekpjJ8Rsdn4fBnQfz8f+G8r2EuBI/Kc5du pktxSrFYfn9Emn+Udnru771tXL+blPUm3WKL8JSEzFGBEIibu4qxKZN6nRzPW6nkfIKizkTc/nkKq T5r8giiiv29KZdUJfVlH7hZNnnDuUSsdQ6OW6leH7KtGQI+afTnHA0VzGOK94YI/+sr/cNOEZHj1D tre6lX16dOCIsFOKJBQY8Y7H0n4HDFEkWYZvmGWM2mXRwKwZgg4ZE8M6RRiQw21u+3b3BSjqHGTu5 q4hU6Rvg==; Received: from [50.53.46.231] (helo=bombadil.infradead.org) by bombadil.infradead.org with esmtpsa (Exim 4.96 #2 (Red Hat Linux)) id 1rEYGo-006RPV-2U; Sat, 16 Dec 2023 17:16:10 +0000 From: Randy Dunlap To: linux-kernel@vger.kernel.org Cc: Randy Dunlap , Jarkko Sakkinen , Dave Hansen , linux-sgx@vger.kernel.org, x86@kernel.org Subject: [PATCH] x86/sgx: fix kernel-doc comment misuse Date: Sat, 16 Dec 2023 09:16:10 -0800 Message-ID: <20231216171610.13224-1-rdunlap@infradead.org> X-Mailer: git-send-email 2.43.0 Precedence: bulk X-Mailing-List: linux-sgx@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Don't use "/**" for a non-kernel-doc comment. This prevents a warning from scripts/kernel-doc: main.c:740: warning: expecting prototype for A section metric is concatenated in a way that @low bits 12(). Prototype was for sgx_calc_section_metric() instead Signed-off-by: Randy Dunlap Cc: Jarkko Sakkinen Cc: Dave Hansen Cc: linux-sgx@vger.kernel.org Cc: x86@kernel.org Reviewed-by: Kai Huang --- arch/x86/kernel/cpu/sgx/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff -- a/arch/x86/kernel/cpu/sgx/main.c b/arch/x86/kernel/cpu/sgx/main.c --- a/arch/x86/kernel/cpu/sgx/main.c +++ b/arch/x86/kernel/cpu/sgx/main.c @@ -731,7 +731,7 @@ out: return 0; } -/** +/* * A section metric is concatenated in a way that @low bits 12-31 define the * bits 12-31 of the metric and @high bits 0-19 define the bits 32-51 of the * metric.