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: 179898 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:24d3:b0:fb:cd0c:d3e with SMTP id r19csp335314dyi; Sat, 16 Dec 2023 09:16:27 -0800 (PST) X-Google-Smtp-Source: AGHT+IFBonhDzgxXKQVKKxDQGkdRylrKAE7e9ii/kxPPPox1H73gnUHlZ/1Nwr32JxSTk2pvZL0T X-Received: by 2002:a05:6a00:198b:b0:6cb:cc67:90c2 with SMTP id d11-20020a056a00198b00b006cbcc6790c2mr6898952pfl.17.1702746987601; Sat, 16 Dec 2023 09:16:27 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702746987; cv=none; d=google.com; s=arc-20160816; b=IA6i5F5xgTsKTjlVt1cHKQOdRzM+sJfs0745pHLgtZB2IghoNpukr29yzTrAFjfAZz dYYYM2S3CoTrqGiX282YFtVpVqo0hMNX4PrfNPITLe81fDQyeQPpwjx39IZbOcAN4gzd 2oyIA7YQFCbcQ+I7/SSiY4B5ccCGug4rgtTOO5JAzgVozDCRNjGmA3HYEsedPq4r6JTW 7Re+tIk+0v1m25T5IYOi2Kn54PSl3trcXKa2CcUFw8I20KNh36M2brfxg6skx3XAptqt L2Zv8mm4mRJjVfd8vyrJpHD7dkq/MM6sLII86as0wmCAiBJgj3EIFo1mxWfpJNIVfAHw 3WJA== ARC-Message-Signature: i=1; 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=JIQyBU2dMmtfHPrerB2o6NxM4MWH9UtHkA27Czb7HVU=; fh=NXnYs0s/B9guwqItOHGaY5/HZCbwYEXtAqp0OOstStQ=; b=QI8MKIZbo947XPCva9JAxd1Hx/6CLETGfxBPYQb9qm4qbmJFhYvtoxHQgutWOKA//F LXl7qTognscGFNBPXVC4eXesGnOncVxEtuHU1S2Zc1j5qJITa+/gXxeY4HNS56Bvp8/7 /qB07eWgTTjx7D1G7wOKfJTDuFVH7bwIJHhcUmChnVHU1Rw9PUiVXdppXjyrqk/OGZAr vddd2Cl14vvVtdsLbcXb7VYR18h3HVStKQzkMMTYAJV/7SGwq6BdTyjO/kn+LpcJT2r8 oSgMSf1tmi3FhegaE1B5BcX+LqevofqvubYmOmSGdo0K1G3w4XKaghFCVdwgX06/+1OQ ZaVw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=OONG6yX9; spf=pass (google.com: domain of linux-kernel+bounces-2291-ouuuleilei=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-2291-ouuuleilei=gmail.com@vger.kernel.org" Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id f13-20020a056a001acd00b006cdce1d5ac7si15361379pfv.17.2023.12.16.09.16.27 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 16 Dec 2023 09:16:27 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-2291-ouuuleilei=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=OONG6yX9; spf=pass (google.com: domain of linux-kernel+bounces-2291-ouuuleilei=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-2291-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 6220B285B03 for ; Sat, 16 Dec 2023 17:16:27 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 4779930F9E; Sat, 16 Dec 2023 17:16:17 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="OONG6yX9" X-Original-To: linux-kernel@vger.kernel.org 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 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-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1785459625465828848 X-GMAIL-MSGID: 1785459625465828848 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.