From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from out-186.mta0.migadu.com (out-186.mta0.migadu.com [91.218.175.186]) (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 CD086768E1 for ; Thu, 21 Dec 2023 20:30:17 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.dev Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b="WEsMJDKm" Message-ID: DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1703190615; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=gwBqm8Cu208Smu6N+a7+u6HWpvBVSy1WfKWYXUQIw14=; b=WEsMJDKmzZIQIrontMH+Y9qPKmkNXNY/6sndy6OdwceNgcLJjaeKD1VQm5sW8rrpP1Q+UQ juSJJQc72j36cwzKYLTWc4cXU5Q/fDGjgUN+mMJOasSpT1nqlspWMKXGtkWHwx9ebTCANX H5qgoXzPK+XDKSbQ0z1qmWzUjY5jjXY= Date: Thu, 21 Dec 2023 15:30:13 -0500 Precedence: bulk X-Mailing-List: bpf@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Subject: Re: [PATCH bpf-next] bpf: Avoid unnecessary use of comma operator in verifier To: Simon Horman , Alexei Starovoitov , Daniel Borkmann Cc: John Fastabend , Andrii Nakryiko , Martin KaFai Lau , Song Liu , Yonghong Song , KP Singh , Stanislav Fomichev , Hao Luo , Jiri Olsa , Nathan Chancellor , Nick Desaulniers , Bill Wendling , Justin Stitt , bpf@vger.kernel.org, llvm@lists.linux.dev References: <20231221-bpf-verifier-comma-v1-1-cde2530912e9@kernel.org> Content-Language: en-US X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: David Marchevsky In-Reply-To: <20231221-bpf-verifier-comma-v1-1-cde2530912e9@kernel.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Migadu-Flow: FLOW_OUT On 12/21/23 12:03 PM, Simon Horman wrote: > Although it does not seem to have any untoward side-effects, > the use of ';' to separate to assignments seems more appropriate than ','. > > Flagged by clang-17 -Wcomma > > No functional change intended. > Compile tested only. > > Signed-off-by: Simon Horman > --- Reviewed-by: Dave Marchevsky