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 139E9C761A6 for ; Sat, 1 Apr 2023 01:42:01 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232338AbjDABl7 (ORCPT ); Fri, 31 Mar 2023 21:41:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44886 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233495AbjDABly (ORCPT ); Fri, 31 Mar 2023 21:41:54 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 29FF320C05; Fri, 31 Mar 2023 18:41:44 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id B73BAB832F5; Sat, 1 Apr 2023 01:41:42 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 77F0FC43442; Sat, 1 Apr 2023 01:41:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1680313301; bh=JegotNx5fBXykk8QkNgylxdkaBH7T4nUuNR8kI4BsII=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=cRZ6z4eKTJf7e8eRthistVDOYIIuhACxg+8s0kfqGFqpRoZyFNX40VSUvWarZYH3Y Cbon/tAQK4hN0fhWCiFq8KDKOnarJxeQYsWUUUpzo6eFChCcXbqond9Jsktc9IlNqu uypiJOzmhLJ6c19FZRFbrjcM8o4fzz1qyx0EEkYI1+16cUV6igsDEQLX1ZzUFnKDpE hFq5mJYZ6u1HkYFl/e6ULwWE5qG3vCyPAxgLRKKUiaHNrjlyRVToSRkuc+t+lVeQ2U v6uCDN2ZyzuOHPK1LPNxyZn43wEP0KWOGLRfWP48aKTTQiDQWn/gbzdEMkaIg/NdFI l/BnwR/rO6aJA== From: Sasha Levin To: linux-kernel@vger.kernel.org, stable@vger.kernel.org Cc: Alexei Starovoitov , Sasha Levin , andrii@kernel.org, daniel@iogearbox.net, shuah@kernel.org, bpf@vger.kernel.org, linux-kselftest@vger.kernel.org Subject: [PATCH AUTOSEL 6.2 07/25] selftests/bpf: Fix progs/find_vma_fail1.c build error. Date: Fri, 31 Mar 2023 21:41:05 -0400 Message-Id: <20230401014126.3356410-7-sashal@kernel.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230401014126.3356410-1-sashal@kernel.org> References: <20230401014126.3356410-1-sashal@kernel.org> MIME-Version: 1.0 X-stable: review X-Patchwork-Hint: Ignore Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Alexei Starovoitov [ Upstream commit 32513d40d908b267508d37994753d9bd1600914b ] The commit 11e456cae91e ("selftests/bpf: Fix compilation errors: Assign a value to a constant") fixed the issue cleanly in bpf-next. This is an alternative fix in bpf tree to avoid merge conflict between bpf and bpf-next. Signed-off-by: Alexei Starovoitov Signed-off-by: Sasha Levin --- tools/testing/selftests/bpf/progs/find_vma_fail1.c | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/testing/selftests/bpf/progs/find_vma_fail1.c b/tools/testing/selftests/bpf/progs/find_vma_fail1.c index b3b326b8e2d1c..6dab9cffda132 100644 --- a/tools/testing/selftests/bpf/progs/find_vma_fail1.c +++ b/tools/testing/selftests/bpf/progs/find_vma_fail1.c @@ -2,6 +2,7 @@ /* Copyright (c) 2021 Facebook */ #include "vmlinux.h" #include +#define vm_flags vm_start char _license[] SEC("license") = "GPL"; -- 2.39.2