Message ID | 20231220005143.84987-1-yang.lee@linux.alibaba.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel+bounces-6211-ouuuleilei=gmail.com@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:24d3:b0:fb:cd0c:d3e with SMTP id r19csp2334896dyi; Tue, 19 Dec 2023 16:52:09 -0800 (PST) X-Google-Smtp-Source: AGHT+IHo/Om/yzjoy9rjQSpzQ863Y4HhISW90BhcKtoXl0bnwv+9wMUebgNwlnSxHmdw2qUFcO46 X-Received: by 2002:a05:620a:1231:b0:781:10fe:6ec8 with SMTP id v17-20020a05620a123100b0078110fe6ec8mr309592qkj.2.1703033528975; Tue, 19 Dec 2023 16:52:08 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703033528; cv=none; d=google.com; s=arc-20160816; b=XNLkXJPTmchEag2SGHldKiSu/PHVhcOwZyfELC+6VaEndZbsUX9yxftiEgcoicO+eE lp1dqNPc409j35OvRoPu4HzIo+PDEoDRSNhYApbLAdC1+D+YB3v+mHJdLecCli1BrpHc VtcCd4phYF+RyC9boEE2fEgSVu8Qa4q+7qCAxwWEJS5vt/z3I8jqYDBGkyGzsoMWxkqc m9rwGJQwBHLkddSsjbKHG7GpRRq+SSsDHgnwwZPrkDMgbVqW2SJFs4zMmJ56JMYwcBZb gWIuwNF0ssdPWnLZJfpReEcuCbrp1H3DgQio22gXoUQjbsCFuCaS82bvYkeONScL7+DQ NUGQ== 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; bh=HWTMyPWHDnUVVppusXg+YH8WotVEr/VzZuqLxfQsSNs=; fh=O7pXc8LZ6simzH1lZZlNQKDNTCg4Rl7qQXiEo8bjpEo=; b=xGXTkD5wOeYfC5uKtIO8heQjouKGzBrx8/SAED3fFmKGk8F/glxi2ResG+Q9Z7kliC ylSThY/Y3L4BDvStAz/ehKswtEtF/y+dKKSLqgYQWvNb0nCizKNFPR5iQei+F96F7Dma mLuNU87yHVl3Hqw276F9Ewo/99biqXHEBAWzAM//1L9BMtYSt/kPzcOqmIYrBA8e4XUT N2prZBWsqCtWUNjV9NvzH3FhC1t8HMzWnkguf1bkB9Re4WIq9VOoBqUNTrxXFVqj8ZBs K9sPZFK1XrD2Nz/fry+FZu4a9Kt0Z0Do+yR27Sh11/p3dBJpBklYOfHobgKIjh0T3oph pt7A== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel+bounces-6211-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-6211-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id 14-20020a05620a048e00b0077f53ddd3f2si323809qkr.767.2023.12.19.16.52.08 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 Dec 2023 16:52:08 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-6211-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel+bounces-6211-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-6211-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com 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 ny.mirrors.kernel.org (Postfix) with ESMTPS id C05DA1C25062 for <ouuuleilei@gmail.com>; Wed, 20 Dec 2023 00:52:08 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 28B94567C; Wed, 20 Dec 2023 00:51:54 +0000 (UTC) X-Original-To: linux-kernel@vger.kernel.org Received: from out30-118.freemail.mail.aliyun.com (out30-118.freemail.mail.aliyun.com [115.124.30.118]) (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 6BE6B6133; Wed, 20 Dec 2023 00:51:47 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.alibaba.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.alibaba.com X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R551e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=ay29a033018045176;MF=yang.lee@linux.alibaba.com;NM=1;PH=DS;RN=6;SR=0;TI=SMTPD_---0VysB-8d_1703033504; Received: from localhost(mailfrom:yang.lee@linux.alibaba.com fp:SMTPD_---0VysB-8d_1703033504) by smtp.aliyun-inc.com; Wed, 20 Dec 2023 08:51:45 +0800 From: Yang Li <yang.lee@linux.alibaba.com> To: fabrice.gasnier@foss.st.com, william.gray@linaro.org Cc: linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org, Yang Li <yang.lee@linux.alibaba.com>, Abaci Robot <abaci@linux.alibaba.com> Subject: [PATCH -next] tools/counter: Remove unneeded semicolon Date: Wed, 20 Dec 2023 08:51:43 +0800 Message-Id: <20231220005143.84987-1-yang.lee@linux.alibaba.com> X-Mailer: git-send-email 2.20.1.7.g153144c Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: <linux-kernel.vger.kernel.org> List-Subscribe: <mailto:linux-kernel+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:linux-kernel+unsubscribe@vger.kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1785760085584313259 X-GMAIL-MSGID: 1785760085584313259 |
Series |
[-next] tools/counter: Remove unneeded semicolon
|
|
Commit Message
Yang Li
Dec. 20, 2023, 12:51 a.m. UTC
./tools/counter/counter_watch_events.c:233:3-4: Unneeded semicolon
./tools/counter/counter_watch_events.c:234:2-3: Unneeded semicolon
./tools/counter/counter_watch_events.c:333:2-3: Unneeded semicolon
Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=7782
Signed-off-by: Yang Li <yang.lee@linux.alibaba.com>
---
tools/counter/counter_watch_events.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
Comments
On 12/20/23 01:51, Yang Li wrote: > ./tools/counter/counter_watch_events.c:233:3-4: Unneeded semicolon > ./tools/counter/counter_watch_events.c:234:2-3: Unneeded semicolon > ./tools/counter/counter_watch_events.c:333:2-3: Unneeded semicolon > > Reported-by: Abaci Robot <abaci@linux.alibaba.com> > Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=7782 > Signed-off-by: Yang Li <yang.lee@linux.alibaba.com> Hi Yang, Reviewed-by: Fabrice Gasnier <fabrice.gasnier@foss.st.com> Thanks for your patch, Best Regards, Fabrice > --- > tools/counter/counter_watch_events.c | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) > > diff --git a/tools/counter/counter_watch_events.c b/tools/counter/counter_watch_events.c > index 3898fe7e35ec..2ce4c99ebd01 100644 > --- a/tools/counter/counter_watch_events.c > +++ b/tools/counter/counter_watch_events.c > @@ -230,8 +230,8 @@ int main(int argc, char **argv) > break; > default: > return EXIT_FAILURE; > - }; > - }; > + } > + } > > if (nwatch) { > watches = calloc(nwatch, sizeof(*watches)); > @@ -330,7 +330,7 @@ int main(int argc, char **argv) > i++; > break; > } > - }; > + } > > if (debug) > print_watch(watches, nwatch);
On Wed, 20 Dec 2023 08:51:43 +0800, Yang Li wrote: > ./tools/counter/counter_watch_events.c:233:3-4: Unneeded semicolon > ./tools/counter/counter_watch_events.c:234:2-3: Unneeded semicolon > ./tools/counter/counter_watch_events.c:333:2-3: Unneeded semicolon > > Applied, thanks! [1/1] tools/counter: Remove unneeded semicolon commit: b7760cf94d4f2665bf40d08dd69aa5d0b4aa593f William Breathitt Gray
diff --git a/tools/counter/counter_watch_events.c b/tools/counter/counter_watch_events.c index 3898fe7e35ec..2ce4c99ebd01 100644 --- a/tools/counter/counter_watch_events.c +++ b/tools/counter/counter_watch_events.c @@ -230,8 +230,8 @@ int main(int argc, char **argv) break; default: return EXIT_FAILURE; - }; - }; + } + } if (nwatch) { watches = calloc(nwatch, sizeof(*watches)); @@ -330,7 +330,7 @@ int main(int argc, char **argv) i++; break; } - }; + } if (debug) print_watch(watches, nwatch);