Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp2627744ybl; Sun, 2 Feb 2020 03:02:27 -0800 (PST) X-Google-Smtp-Source: APXvYqwfCOC/VL5IQ0BjGfJO+uBElEg9QqXGvqcLJyz/LwaZ8dCSQMkkHckLtPGVXJ9DTMAOFpOF X-Received: by 2002:a05:6808:48e:: with SMTP id z14mr11790671oid.26.1580641347583; Sun, 02 Feb 2020 03:02:27 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1580641347; cv=none; d=google.com; s=arc-20160816; b=a/Thecvw6nK4T9PdSOPTkFy6i3FwPNomir8m+aGCsd3Tdr06FPSrw5rBOLTRyaDX3W fRcNn2Jkldhxl5BNyjFW2FyXYwgnrMusVDzT6pe2bprvuNTkjHTAGorgtXG5Lv42XH2B KxgCz5t9bT+VIVy0je0/DxjT7/7Y0YkW8vgTjX//Z5ctUEuPOd46bcEQRI1TzbeHWFet aPJmTnXnj5iv9qR2nVA6QJdvcD0o5nMvj6xohe5F28AIoNEMflywK5u8t7J25gEZZncj eWafSXaQrbswXY71cO5Z0H1S878zD/tApgVX6xu/09MtwUYYEoIy1fDzbtPfMsF6FFiZ M4Fw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from; bh=ge6ejMxpYRVMtFrqMyCoLk+xsLTYGr2+pEsxoPfrDq4=; b=aPmoBcnMaXAum/VPZ+3d50qKojPlAqi9+rv1t6CKiC10UQDiEg8WJpLnnRXDBamxj3 04icDR+onyPWPD0WbqOM91mxcJ9VHPTDrv1DvirQdn9QxD5Ou7bleg0y5HGw1gxJjnXB VIra5C0wNk9PzGZV4N9Exc3hRs7S9PuRYQrckNCo7mop+iL7lKJcsLpPaeTkuqN0yNDw SRM3335JGEBTbBL/2ywCpU6e86cN2vfzprtYnHPugsV5FJRJD54fnmdBFI+mWFL+TtuS q5z3MrApBc62NcIG7BWaf1oSLgzWSZFJASR4vtET0h0/Woc5e3ISjEAABhKTuVqu4D7x 3exw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g4si5943930oib.152.2020.02.02.03.02.14; Sun, 02 Feb 2020 03:02:27 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726885AbgBBLBX (ORCPT + 99 others); Sun, 2 Feb 2020 06:01:23 -0500 Received: from mx2.suse.de ([195.135.220.15]:47454 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726044AbgBBLBW (ORCPT ); Sun, 2 Feb 2020 06:01:22 -0500 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id CC57DAD69; Sun, 2 Feb 2020 11:01:20 +0000 (UTC) From: Michal Rostecki To: bpf@vger.kernel.org Cc: Alexei Starovoitov , Daniel Borkmann , Martin KaFai Lau , Song Liu , Yonghong Song , Andrii Nakryiko , netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH bpf] bpftool: Remove redundant "HAVE" prefix from the large INSN limit check Date: Sun, 2 Feb 2020 12:02:00 +0100 Message-Id: <20200202110200.31024-1-mrostecki@opensuse.org> X-Mailer: git-send-email 2.16.4 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org "HAVE" prefix is already applied by default to feature macros and before this change, the large INSN limit macro had the incorrect name with double "HAVE". Fixes: 2faef64aa6b3 ("bpftool: Add misc section and probe for large INSN limit") Signed-off-by: Michal Rostecki --- tools/bpf/bpftool/feature.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/bpf/bpftool/feature.c b/tools/bpf/bpftool/feature.c index 446ba891f1e2..941873d778d8 100644 --- a/tools/bpf/bpftool/feature.c +++ b/tools/bpf/bpftool/feature.c @@ -580,7 +580,7 @@ probe_large_insn_limit(const char *define_prefix, __u32 ifindex) res = bpf_probe_large_insn_limit(ifindex); print_bool_feature("have_large_insn_limit", "Large program size limit", - "HAVE_LARGE_INSN_LIMIT", + "LARGE_INSN_LIMIT", res, define_prefix); } -- 2.16.4