Message ID | 20231205231204.1130-1-rdunlap@infradead.org |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:bcd1:0:b0:403:3b70:6f57 with SMTP id r17csp3761380vqy; Tue, 5 Dec 2023 15:12:15 -0800 (PST) X-Google-Smtp-Source: AGHT+IH/WD3FXMW02+9xmDQxPPvtOkZxnVk6iwy0A8qesy94KCJ14HjYNZK3Xrfg5unJosG3h94l X-Received: by 2002:a17:902:c3c5:b0:1d0:708c:d04b with SMTP id j5-20020a170902c3c500b001d0708cd04bmr6619512plj.31.1701817935355; Tue, 05 Dec 2023 15:12:15 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701817935; cv=none; d=google.com; s=arc-20160816; b=AMjqemYTuyzUTKhga7WHKFIcobXOVx7TFn1DQdL70WEXW19EznZnERxtgFw/oAlRCi v9y+3NLlc2OxrjrrdM37b4WnwotiIkLSJ6v0+9/sXnKm8v48OwIdlCJcncVlIDYtHJ4F LHgWIr030kMKla/oEgey3/UvrR0qm2xC75MGFdYQ4V6Fo5WD/bYcPLFZe2wQvO+UE+V5 cV1NN5Mzmiw0qK6rKs+LumgfURAwRGQ+7o2dnNXiqFh0apMKSw9lmZQUu8ZXBWDX2P70 pc2S2cKLNKMw9wdxKEUUaS/szGg3Pd+R/rlbgWIg6aFQh9qxOGghVUFT1PjCdPX9Eodv qiNQ== 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=VCL1DzminhNT4bz7Zg1RCj1idSj2Oed0iYRadOstj/U=; fh=YsiMIAfU5nEt9p8XnGw3cwCeSsSe0vlc0gHRtMFnXMY=; b=QU3GU4UqbxAttP7EQtBDjwxxJ600/PeT1tWW1SP0r/4sT48jb1WQKFihJMg+aGOx3K /nWci9SfypvmXvfqMU/hf0/kczKSBww5dqT+bb+ZiCVh7XZt3g+3nde1188UOXlAy4cO lb3erSDBHlrmKOS5KHAgnbH2V8RuwLnnRKKmF/ima8LhblqqvYoBbZqwDyT4QVK4WPPU o50xrzp1h7owCRvc46l9YlaaSLHA2b+QpmFyv1a3EYfk44UX2ZJdR6xi7XP8urjdg7Ci hPw6xGqIQCMUM/+FcTpHuSoC9XE4iYAf3xK/XLHyvGVB84zR+1knk5BiOpKH+HkiBavq wQVA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=MZwG1wmy; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from howler.vger.email (howler.vger.email. [2620:137:e000::3:4]) by mx.google.com with ESMTPS id s23-20020a170902b19700b001bf1005924csi5092696plr.321.2023.12.05.15.12.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 05 Dec 2023 15:12:15 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) client-ip=2620:137:e000::3:4; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=MZwG1wmy; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by howler.vger.email (Postfix) with ESMTP id 0248982A856B; Tue, 5 Dec 2023 15:12:10 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1346546AbjLEXMB (ORCPT <rfc822;chrisfriedt@gmail.com> + 99 others); Tue, 5 Dec 2023 18:12:01 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41744 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231659AbjLEXL7 (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Tue, 5 Dec 2023 18:11:59 -0500 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0E756120 for <linux-kernel@vger.kernel.org>; Tue, 5 Dec 2023 15:12:06 -0800 (PST) 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=VCL1DzminhNT4bz7Zg1RCj1idSj2Oed0iYRadOstj/U=; b=MZwG1wmyyVfshMXHma183QSrEM XV+oQm0k/CzXyDa5qqMKbY96YNk26P/gF5gPDJ0T3FEbNoIA0XO4/nTCBILpy7TY+ztSP6GSmlIpT JKyFeZ9vL16r94MCWgxXa26ihLkPAyLO3p9QiioQLLWUmHWSHVhH00/CUU1IAcRQ4MnxpmaXrBdZL S+VqagFYNMXxvjBC9H1Va3w32U0yDTqjMHrFs1oxlp+WNvkk8tmlADiWAeznHNNI86tw7EWlGLejj XGrF9Yu/EW50Tqrrz4bX5JB0sUJtug2QALFqqjGYpbLJra8QUi5FCxc5/bKestUWrHOaf7lwWdREU A1erqkJw==; Received: from [50.53.46.231] (helo=bombadil.infradead.org) by bombadil.infradead.org with esmtpsa (Exim 4.96 #2 (Red Hat Linux)) id 1rAeaC-008agr-34; Tue, 05 Dec 2023 23:12:05 +0000 From: Randy Dunlap <rdunlap@infradead.org> To: linux-kernel@vger.kernel.org Cc: Randy Dunlap <rdunlap@infradead.org>, Andy Gross <agross@kernel.org>, Bjorn Andersson <andersson@kernel.org>, Konrad Dybcio <konrad.dybcio@linaro.org>, MyungJoo Ham <myungjoo.ham@samsung.com>, Chanwoo Choi <cw00.choi@samsung.com> Subject: [PATCH] extcon: qcom-spmi-misc: don't use kernel-doc marker for comment Date: Tue, 5 Dec 2023 15:12:04 -0800 Message-ID: <20231205231204.1130-1-rdunlap@infradead.org> X-Mailer: git-send-email 2.43.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on howler.vger.email Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (howler.vger.email [0.0.0.0]); Tue, 05 Dec 2023 15:12:10 -0800 (PST) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1784485443132843882 X-GMAIL-MSGID: 1784485443132843882 |
Series |
extcon: qcom-spmi-misc: don't use kernel-doc marker for comment
|
|
Commit Message
Randy Dunlap
Dec. 5, 2023, 11:12 p.m. UTC
Do not use "/**" for non-kernel-doc comments. This prevents a warning
from scripts/kernel-doc:
warning: expecting prototype for extcon(). Prototype was for USB_ID_DEBOUNCE_MS() instead
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Cc: Andy Gross <agross@kernel.org>
Cc: Bjorn Andersson <andersson@kernel.org>
Cc: Konrad Dybcio <konrad.dybcio@linaro.org>
Cc: MyungJoo Ham <myungjoo.ham@samsung.com>
Cc: Chanwoo Choi <cw00.choi@samsung.com>
---
drivers/extcon/extcon-qcom-spmi-misc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Comments
> -----Original Message----- > From: Randy Dunlap <rdunlap@infradead.org> > Sent: Wednesday, December 6, 2023 8:12 AM > To: linux-kernel@vger.kernel.org > Cc: Randy Dunlap <rdunlap@infradead.org>; Andy Gross <agross@kernel.org>; > Bjorn Andersson <andersson@kernel.org>; Konrad Dybcio > <konrad.dybcio@linaro.org>; MyungJoo Ham <myungjoo.ham@samsung.com>; Chanwoo > Choi <cw00.choi@samsung.com> > Subject: [PATCH] extcon: qcom-spmi-misc: don't use kernel-doc marker for > comment > > Do not use "/**" for non-kernel-doc comments. This prevents a warning from > scripts/kernel-doc: > > warning: expecting prototype for extcon(). Prototype was for > USB_ID_DEBOUNCE_MS() instead > > Signed-off-by: Randy Dunlap <rdunlap@infradead.org> > Cc: Andy Gross <agross@kernel.org> > Cc: Bjorn Andersson <andersson@kernel.org> > Cc: Konrad Dybcio <konrad.dybcio@linaro.org> > Cc: MyungJoo Ham <myungjoo.ham@samsung.com> > Cc: Chanwoo Choi <cw00.choi@samsung.com> > --- > drivers/extcon/extcon-qcom-spmi-misc.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff -- a/drivers/extcon/extcon-qcom-spmi-misc.c b/drivers/extcon/extcon- > qcom-spmi-misc.c > --- a/drivers/extcon/extcon-qcom-spmi-misc.c > +++ b/drivers/extcon/extcon-qcom-spmi-misc.c > @@ -1,5 +1,5 @@ > // SPDX-License-Identifier: GPL-2.0-only > -/** > +/* > * extcon-qcom-spmi-misc.c - Qualcomm USB extcon driver to support USB ID > * and VBUS detection based on extcon-usb-gpio.c. > * Applied it. Thanks. Best Regards, Chanwoo Choi
diff -- a/drivers/extcon/extcon-qcom-spmi-misc.c b/drivers/extcon/extcon-qcom-spmi-misc.c --- a/drivers/extcon/extcon-qcom-spmi-misc.c +++ b/drivers/extcon/extcon-qcom-spmi-misc.c @@ -1,5 +1,5 @@ // SPDX-License-Identifier: GPL-2.0-only -/** +/* * extcon-qcom-spmi-misc.c - Qualcomm USB extcon driver to support USB ID * and VBUS detection based on extcon-usb-gpio.c. *