Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id B6145C636D4 for ; Wed, 15 Feb 2023 18:22:09 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230196AbjBOSWH (ORCPT ); Wed, 15 Feb 2023 13:22:07 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44450 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230181AbjBOSWF (ORCPT ); Wed, 15 Feb 2023 13:22:05 -0500 Received: from out-133.mta1.migadu.com (out-133.mta1.migadu.com [95.215.58.133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DAF193D09E for ; Wed, 15 Feb 2023 10:21:52 -0800 (PST) Message-ID: DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1676485310; 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=P3EnbBpqpBBiBVNpqBNvmk9cmi5eIaCDPOxnBf2SQYo=; b=V4bleHn3JDXgPGWdY7gd20mrrWGCwE6u/lAb/X5OH5sSdGE7+/j/jyF8PdwJpgGJk0975F S170MERyKDdkhtOvybSt7M/43vJvodkyFJix0S50LhP42LCmQUU9o4vhMGKFoAoGK5V38g vKPWc32vZlgxMjmDDfGBJXwjnXflDGI= Date: Wed, 15 Feb 2023 10:21:44 -0800 MIME-Version: 1.0 Subject: Re: [PATCH v2] fixed typos on selftests/bpf Content-Language: en-US To: Taichi Nishimura Cc: andrii@kernel.org, ast@kernel.org, daniel@iogearbox.net, davem@davemloft.net, deso@posteo.net, haoluo@google.com, hawk@kernel.org, joannelkoong@gmail.com, john.fastabend@gmail.com, jolsa@kernel.org, kpsingh@kernel.org, kuba@kernel.org, linux-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org, llvm@lists.linux.dev, mykolal@fb.com, nathan@kernel.org, ndesaulniers@google.com, netdev@vger.kernel.org, sdf@google.com, shuah@kernel.org, song@kernel.org, trix@redhat.com, yhs@fb.com, ytcoode@gmail.com, rdunlap@infradead.org References: <20230215032122.417515-1-awkrail01@gmail.com> X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: Martin KaFai Lau In-Reply-To: <20230215032122.417515-1-awkrail01@gmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Migadu-Flow: FLOW_OUT Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2/14/23 7:21 PM, Taichi Nishimura wrote: > Hi Randy, > > Thank you for your reviewing. > I fixed costant and it's to constant and its, respectively. > > Best regards, > Taichi Nishimura > > Signed-off-by: Taichi Nishimura > --- > tools/testing/selftests/bpf/progs/test_cls_redirect.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/tools/testing/selftests/bpf/progs/test_cls_redirect.c b/tools/testing/selftests/bpf/progs/test_cls_redirect.c > index a8ba39848bbf..66b304982245 100644 > --- a/tools/testing/selftests/bpf/progs/test_cls_redirect.c > +++ b/tools/testing/selftests/bpf/progs/test_cls_redirect.c > @@ -610,8 +610,8 @@ static INLINING ret_t get_next_hop(buf_t *pkt, encap_headers_t *encap, > * > * fill_tuple(&t, foo, sizeof(struct iphdr), 123, 321) > * > - * clang will substitute a costant for sizeof, which allows the verifier > - * to track it's value. Based on this, it can figure out the constant > + * clang will substitute a constant for sizeof, which allows the verifier > + * to track its value. Based on this, it can figure out the constant This does not apply. Ensure the diff is generated by git, and against the bpf-next tree. Please include everything in v1 also, resubmit and tag for bpf-next in the subject.