Message ID | 20230810000740.23756-1-rdunlap@infradead.org |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b824:0:b0:3f2:4152:657d with SMTP id z4csp98388vqi; Wed, 9 Aug 2023 17:41:00 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEpnb6z3tdr5SpkerI8adn4XUyMlskmjzQppgB4+tWUh7a5jDigkvnU/yK05ongP90M6vr6 X-Received: by 2002:a17:903:110f:b0:1b8:b5f8:c485 with SMTP id n15-20020a170903110f00b001b8b5f8c485mr959501plh.50.1691628060154; Wed, 09 Aug 2023 17:41:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691628060; cv=none; d=google.com; s=arc-20160816; b=ufC7D9ZWi8kBmQHjl13i14DDLasTVyq2OojtB33tP4S8sP86xZtoz5VfgpxJjmfPQ6 W4/PzBefjPKe4DIiuldiqkKaoVdI4/tupn40iAgnec/EylFYezFxfxtJR5sFMwRQkqgf imWj5hP7PLFoAZatvCWIcAmm3wQr1LaDgMLB8j7NxVNgr4GNup0nbFhEAvDtpcQ1dpQO sYarwyu27GIkcxWTEc7pNPFj3PngAInYq8eWqng0B3tP1cl3XURV+2GM1oqjy8FIQteG bQ7AEHKDVPlgPhCYpUgGH6V9jx/uEInZFb+A5axd1NgZcgOVXWuIRpFodg3z4a8pihWW Sg3w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=a/tB3igPuPQPji9bDIFLD+1I0YTlmH4t0wSv4ROhmQ8=; fh=tRRj9NlVKlWr2wsaKPkXBhWjsmr9OLU2QRClI1hvFgc=; b=G32qb7/Qd98REa5V5Je9uSQXlF85VF7+cUDqfXxmwmooZ1zyZ058CUW0mkDX12kPy1 ZFHTH1J0XTSpavHpJz4V5nasx8QyY0Ve8kzoo99L7bF4ps3sbGbez+AozYI+EfdDSLxo z6x3M4VGN3s97Z+PvM20ANl+PPXYNnDfdHoztPG+DQW+fWwGoBrJweEiOTTijD3hbbYE BF1w9f7pzDdDJexXNO3VTppI7uR5K8Y481pK5y+Baa59tGYEDd++Y1jkvIaniXu3NJu9 UQZznraIAetq1xIv2eKhOLYLoPNJ54SiaL2pi68LNhs1KxWsQul7CssfvrgKmsq67fvD bJpw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=NKpTDiSM; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id h10-20020a170902f54a00b001b9c17240desi295128plf.466.2023.08.09.17.40.47; Wed, 09 Aug 2023 17:41:00 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=NKpTDiSM; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229645AbjHJAHo (ORCPT <rfc822;craechal@gmail.com> + 99 others); Wed, 9 Aug 2023 20:07:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38138 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229501AbjHJAHo (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Wed, 9 Aug 2023 20:07:44 -0400 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AB19FE74 for <linux-kernel@vger.kernel.org>; Wed, 9 Aug 2023 17:07:43 -0700 (PDT) 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=a/tB3igPuPQPji9bDIFLD+1I0YTlmH4t0wSv4ROhmQ8=; b=NKpTDiSMQJK6r+Bsyq5FrF+HGJ TN3EMlTqGVYTZ0qA5y9OkRtw6f2iOA+7EnXdvP0F37OO8DCe2bR5eOUs3AcLtJZ23D4dLe5oZxAmA xhsJJF615AjipHFE7uqeFqP25u1InxFqjg27XtzTrxpSfaNCfbgCbauESACVpE3Z9eb0gzB2ht/Yd H0ubeX2Dk55c4bVTZA5qFygDDZLaKEBthp8VRvr/5XfZho7X3Mf3671haHzWu0sNzVbkQrt15r5La QYrazHH+D/5mNHIsKf9gGOTesMaqbkXrsY+4HkRBnAHff+VZUGUFb75j+t28JJrVYBaA09eKQ3z9F JQYj3sig==; Received: from [2601:1c2:980:9ec0::2764] (helo=bombadil.infradead.org) by bombadil.infradead.org with esmtpsa (Exim 4.96 #2 (Red Hat Linux)) id 1qTtDJ-00686R-1F; Thu, 10 Aug 2023 00:07:41 +0000 From: Randy Dunlap <rdunlap@infradead.org> To: linux-kernel@vger.kernel.org Cc: Randy Dunlap <rdunlap@infradead.org>, kernel test robot <lkp@intel.com>, Nayna Jain <nayna@linux.ibm.com>, Michael Ellerman <mpe@ellerman.id.au>, linuxppc-dev@lists.ozlabs.org Subject: [PATCH] powerpc/pseries: PLPKS: undo kernel-doc comment notation Date: Wed, 9 Aug 2023 17:07:40 -0700 Message-ID: <20230810000740.23756-1-rdunlap@infradead.org> X-Mailer: git-send-email 2.41.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_NONE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1773800584536677790 X-GMAIL-MSGID: 1773800584536677790 |
Series |
powerpc/pseries: PLPKS: undo kernel-doc comment notation
|
|
Commit Message
Randy Dunlap
Aug. 10, 2023, 12:07 a.m. UTC
Don't use kernel-doc "/**" comment format for non-kernel-doc comments.
This prevents a kernel-doc warning:
arch/powerpc/platforms/pseries/plpks.c:186: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst
* Label is combination of label attributes + name.
Fixes: 2454a7af0f2a ("powerpc/pseries: define driver for Platform KeyStore")
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Reported-by: kernel test robot <lkp@intel.com>
Link: lore.kernel.org/r/202308040430.GxmPAnwZ-lkp@intel.com
Cc: Nayna Jain <nayna@linux.ibm.com>
Cc: Michael Ellerman <mpe@ellerman.id.au>
Cc: linuxppc-dev@lists.ozlabs.org
---
arch/powerpc/platforms/pseries/plpks.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Comments
On Wed, 09 Aug 2023 17:07:40 -0700, Randy Dunlap wrote: > Don't use kernel-doc "/**" comment format for non-kernel-doc comments. > This prevents a kernel-doc warning: > > arch/powerpc/platforms/pseries/plpks.c:186: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst > * Label is combination of label attributes + name. > > > [...] Applied to powerpc/next. [1/1] powerpc/pseries: PLPKS: undo kernel-doc comment notation https://git.kernel.org/powerpc/c/506e550a7da9e995bea3bd585db591068f98b2bf cheers
diff -- a/arch/powerpc/platforms/pseries/plpks.c b/arch/powerpc/platforms/pseries/plpks.c --- a/arch/powerpc/platforms/pseries/plpks.c +++ b/arch/powerpc/platforms/pseries/plpks.c @@ -194,7 +194,7 @@ static struct plpks_auth *construct_auth return auth; } -/** +/* * Label is combination of label attributes + name. * Label attributes are used internally by kernel and not exposed to the user. */