From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp1.osuosl.org (smtp1.osuosl.org [140.211.166.138]) (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 15B751D537 for ; Mon, 20 Nov 2023 15:25:01 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b="adzt1Bor" Received: from localhost (localhost [127.0.0.1]) by smtp1.osuosl.org (Postfix) with ESMTP id 7E7E1812E5 for ; Mon, 20 Nov 2023 15:25:01 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp1.osuosl.org 7E7E1812E5 Authentication-Results: smtp1.osuosl.org; dkim=pass (1024-bit key, unprotected) header.d=linux.dev header.i=@linux.dev header.a=rsa-sha256 header.s=key1 header.b=adzt1Bor X-Virus-Scanned: amavisd-new at osuosl.org X-Spam-Flag: NO X-Spam-Score: -2.1 X-Spam-Level: Received: from smtp1.osuosl.org ([127.0.0.1]) by localhost (smtp1.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id BwajwjMauObR for ; Mon, 20 Nov 2023 15:25:00 +0000 (UTC) Received: from out-187.mta1.migadu.com (out-187.mta1.migadu.com [IPv6:2001:41d0:203:375::bb]) by smtp1.osuosl.org (Postfix) with ESMTPS id AE9A480EC2 for ; Mon, 20 Nov 2023 15:25:00 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp1.osuosl.org AE9A480EC2 Message-ID: DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1700493896; 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=0H8FTlr9fcdwDD07hcBimFiAc3RJ94n6TR7AdGN6fa0=; b=adzt1BorjpRRATbF52loZ0if16onR6BG85RhCxyqcFjCvGw3pwVvW8IYSoRaeQlcRjjLdO wd78VcA9Hnk0Y2EvtsvezPy+o5X0SXVHJAyB0/4SlHwhcWt9JGibwaXX4nrGt1U+Mxg69x inGH5khwaE5jQd8ac9S8C0Ud96fgwMA= Date: Mon, 20 Nov 2023 07:24:50 -0800 Precedence: bulk X-Mailing-List: linux-kernel-mentees@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Subject: Re: [PATCH bpf-next v2 2/4] selftests/bpf: Replaces the usage of CHECK calls for ASSERTs in bind_perm Content-Language: en-GB To: Yuran Pereira , bpf@vger.kernel.org Cc: andrii@kernel.org, andrii.nakryiko@gmail.com, mykolal@fb.com, ast@kernel.org, martin.lau@linux.dev, song@kernel.org, john.fastabend@gmail.com, kpsingh@kernel.org, sdf@google.com, haoluo@google.com, jolsa@kernel.org, shuah@kernel.org, linux-kselftest@vger.kernel.org, linux-kernel@vger.kernel.org, linux-kernel-mentees@lists.linuxfoundation.org References: X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: Yonghong Song In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Migadu-Flow: FLOW_OUT On 11/18/23 1:44 PM, Yuran Pereira wrote: > bind_perm uses the `CHECK` calls even though the use of > ASSERT_ series of macros is preferred in the bpf selftests. > > This patch replaces all `CHECK` calls for equivalent `ASSERT_` > macro calls. > > Signed-off-by: Yuran Pereira Acked-by: Yonghong Song