From mboxrd@z Thu Jan 1 00:00:00 1970 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 E42E6C197A0 for ; Mon, 20 Nov 2023 15:44:17 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234097AbjKTPoT (ORCPT ); Mon, 20 Nov 2023 10:44:19 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58364 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233780AbjKTPoQ (ORCPT ); Mon, 20 Nov 2023 10:44:16 -0500 Received: from out-170.mta1.migadu.com (out-170.mta1.migadu.com [95.215.58.170]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 44549F4 for ; Mon, 20 Nov 2023 07:44:13 -0800 (PST) Message-ID: DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1700495051; 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=iIUeiMgZscjp06DUtT53KHCOHBj10yoOgIx/xPQe91Y=; b=f7Pyf6RnucUbwXKoCt1CBBuZKgLm79UXGYY7eChKJcAyYkjG9UbEFbVp9CO1S7x4fusI5N HvqkmuuXXmakngXF91stpsTGzF1ICZu6BMLeGGVbfKAEo5FbeXMNDvzuDP8MF9zxrOfH3m hi9B3jpESyZ0Qr7W70pkcpvZjLdNz4M= Date: Mon, 20 Nov 2023 07:44:05 -0800 MIME-Version: 1.0 Subject: Re: [PATCH bpf-next v2 4/4] selftests/bpf: Replaces the usage of CHECK calls for ASSERTs in vmlinux 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 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 11/18/23 1:47 PM, Yuran Pereira wrote: > vmlinux.c 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