Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp2052699pxb; Fri, 5 Mar 2021 06:23:26 -0800 (PST) X-Google-Smtp-Source: ABdhPJynV5H/OfYH0P2QCwFiSTUeKVMykuOah+WveuaWiWR2EwvtRZpiYjBA3e7lBxuzz2civjPc X-Received: by 2002:a50:f314:: with SMTP id p20mr9211740edm.236.1614954205814; Fri, 05 Mar 2021 06:23:25 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1614954205; cv=none; d=google.com; s=arc-20160816; b=LKU3YLYEWyNZdT7a1bVFYPzTeFqMq2BeaDDvl7+DPxbnz7wsLcAc83Mh3CLDl680/2 a6hRFxxM7wJlAclVHN7WWyqfeSQGF+l+JqZWuD27XrJACm+BU7YWeiJsRoI1+2cLJGbZ SptY0MyngTh4M1X/IdlEBOKu/SOlQgKoXxgQ2rTVWK42oyRQBEsOErD0Mlt7tNCZr9rU 58qZPu1DrQj6BEA2koTifXbcbu9Iv1sWd42/sixwp77Suy0MRQ07vqG2ZGm64ZT/rMkS QYRfqfRD0eH5Xh+k1Wdb5V1C1CjqHptDM/ui2FoO1lyP3gC3z9U94ERCxs3joNt8Pg47 s/1g== 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 :references:in-reply-to:message-id:subject:cc:to:from:date; bh=fSFfRoID/tfSq7ItE1uviNs0FmCqnqn/WzJdRF8y1mU=; b=IfsOc8fl1K+M8+1WioAbHVoJq1bdiM0F7IjpsWAHN6f1p2VNsZEXHzDoqIdkRDesVb tIqA/LDt20F3VHABg/6vO5DKFqqpIFLZ685FJth1F4Q9uVrnIqWJBzDlhWagRHsvw6YP mWtzezFKh5AEEgUe/Q1DTdpj08839kcP358GfMHaI1E5w0vk4agCkUGIgPaIXTnfKUUm IjfUPafzULBcKNNf+EG1QHYMvPSKSgIY+ls4Pi9ZrG+K+kosaSBCLmI+R7WByfuJOnW1 ojSREenFcCGiy8Jkwm2R/9N/lsdVP75ydd78r4AVfT7AfCjCNDjJ0E2eZgpoBM3aCCrn fTBw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id lt10si1356604ejb.16.2021.03.05.06.23.02; Fri, 05 Mar 2021 06:23:25 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230396AbhCEOVv (ORCPT + 99 others); Fri, 5 Mar 2021 09:21:51 -0500 Received: from mail.kernel.org ([198.145.29.99]:33498 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230415AbhCEOVj (ORCPT ); Fri, 5 Mar 2021 09:21:39 -0500 Received: from gandalf.local.home (cpe-66-24-58-225.stny.res.rr.com [66.24.58.225]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 2D2A66509B; Fri, 5 Mar 2021 14:21:38 +0000 (UTC) Date: Fri, 5 Mar 2021 09:21:36 -0500 From: Steven Rostedt To: Cc: , , Subject: Re: [PATCH] tracing/tools: Remove unneeded semicolon Message-ID: <20210305092136.7f6a33d1@gandalf.local.home> In-Reply-To: <480322830b8aa400f4293e635184a31d392e4dad.camel@bmw.de> References: <20210305094005.1724-1-vulab@iscas.ac.cn> <480322830b8aa400f4293e635184a31d392e4dad.camel@bmw.de> X-Mailer: Claws Mail 3.17.8 (GTK+ 2.24.33; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 5 Mar 2021 10:42:08 +0000 wrote: > Looks good but I would suggest to fix also the other instances of superfluous > semicolons with the same patch. > > There seems to be a lonely semicolon on line 1944, i.e this code: > > if (value < 0) { > warnx("TIME must be >= 0\n"); > show_usage(); > ; > } > > In that case the lonely semicolon should be replaced with "exit(0);" Agreed. I'll wait for v2 of the patch. Thanks, -- Steve