Message ID | 20230825-wip-selftests-v3-3-639963c54109@kernel.org |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:612c:2016:b0:403:3b70:6f57 with SMTP id fe22csp406885vqb; Thu, 5 Oct 2023 09:11:31 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEykXvn8zmtbZR8yhGMk30UhlxEmMsDHJ0n+zlVDF90cSnIrLIx5naeppQeCeXk++YG1Jrz X-Received: by 2002:a05:6a20:9185:b0:163:9f1d:b464 with SMTP id v5-20020a056a20918500b001639f1db464mr6382626pzd.5.1696522290709; Thu, 05 Oct 2023 09:11:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696522290; cv=none; d=google.com; s=arc-20160816; b=rkvrad4mxjvvWnUFFe15jUCynA+MgxNFwulz0d3yFOV4JuFnWSlhpCs3mgwKme6TKV SEjGxE3Qju4Gk0/bm6nWAB9TtDu3MNGPoHgWCffOfvP58CEK/vp08RxmrmXhdzzRe8TF RmXKF2AwGIsnf4JNS84eQrpyZLWYubhNNSVBsiagUu+7zF4ALeSCdawujgbyTvMN8icT swiH6X8JAANOUtv67ZR2CvQ+SHy8HJxkr6LxcN7zDCrXbRVD9/hswmYxHv/VxGBDjZNU TaR2ib+0qxA8D60nNPSpMwoQsPu8oznlQSr8p6CineBaXviLmqKQhI04qhYIUrv90Oaq qmqQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:in-reply-to:references:message-id :content-transfer-encoding:mime-version:subject:date:from :dkim-signature; bh=Ge7Z3ySIDfDlwel/V1bK/IW3KwBrlErrkZzcVcWy0W8=; fh=kRsTx5dZ5TDpr6QV0E+qZTs7peFrRp8xE2CEZuIXszE=; b=miMe9t8/cec/XGAr/hTePP1AZ6W1wChipJMXfeVAOHORLctF7EHT3IPcNV9hqZVUnL krn/tHUBg2UX/rPEqU75/1k4sAIWhJQP8NQfKXVJOtGw4vAlxxBYDY1VRD7lBw7rNBVu 6HJcO+mAwpdGMzuGTqQNdt7TnlRI/HjaQxOcCCAIvJIncbmhkioFbjM+iAcIpYm6pojC Rztv2Pn0jJU5CR/sPRBHtxpx6n6ZUBSbRDb8rTjNPBGXsmQbEHCpS21YmFXTw4bVwQ4h t2SeHoJM7mgjnsc8pigxc96s8LQA2oRE7fBeBabRpsAEFi7Qpp77istuKSaoQQJRBP6+ UPiw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=QeBzDi88; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from howler.vger.email (howler.vger.email. [23.128.96.34]) by mx.google.com with ESMTPS id c20-20020a056a000ad400b0068e47e5f221si1701996pfl.195.2023.10.05.09.11.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 05 Oct 2023 09:11:30 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) client-ip=23.128.96.34; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=QeBzDi88; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by howler.vger.email (Postfix) with ESMTP id A25C480F4E36; Thu, 5 Oct 2023 09:11:29 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240765AbjJEQLF (ORCPT <rfc822;ezelljr.billy@gmail.com> + 19 others); Thu, 5 Oct 2023 12:11:05 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45532 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238367AbjJEQJ7 (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Thu, 5 Oct 2023 12:09:59 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4DBD57D015; Thu, 5 Oct 2023 08:56:02 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id E13C4C433CC; Thu, 5 Oct 2023 15:55:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1696521361; bh=3yQpTAu+sxNfHSN9OgsgXUOtauvkvvEyt8XXZhf2+8Q=; h=From:Date:Subject:References:In-Reply-To:To:Cc:From; b=QeBzDi88VBkjZ7kWlDKDGeGHaEjWV1lZkkcsCVKn4dR86Bo+SCfF6chKzIqn7DKRV b9XYa8UC0xp3HXw60hOVdxCN9bKqUQXNtk/wRMsmTZRefN+Ihl7uysL6Qx7y/ayFzM bizhHSa5OfWRTiQ0koQ/OXHjiaKnWcnqDE0HD3NlKKugmCfC5EObuOsgWNih/ajW+Y j0R+Shhw8tStRzMawg2I592r9SBWd8Ifps/l96BWPUWD4Hg0nSiPODvTbDGXAbcKjJ r4yUriACcMWAhvsep2awIgcHgRqFi0FOmJSCOADOjZbLgh1cIdRoTTV35Q0Dy09HP1 oZK9daysQ5s1A== From: Benjamin Tissoires <bentiss@kernel.org> Date: Thu, 05 Oct 2023 17:55:34 +0200 Subject: [PATCH v3 3/3] selftests/hid: force using our compiled libbpf headers MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20230825-wip-selftests-v3-3-639963c54109@kernel.org> References: <20230825-wip-selftests-v3-0-639963c54109@kernel.org> In-Reply-To: <20230825-wip-selftests-v3-0-639963c54109@kernel.org> To: Jiri Kosina <jikos@kernel.org>, Benjamin Tissoires <benjamin.tissoires@redhat.com>, Shuah Khan <shuah@kernel.org>, Justin Stitt <justinstitt@google.com>, Nick Desaulniers <ndesaulniers@google.com>, Eduard Zingerman <eddyz87@gmail.com> Cc: linux-input@vger.kernel.org, linux-kselftest@vger.kernel.org, linux-kernel@vger.kernel.org, bpf@vger.kernel.org, Benjamin Tissoires <bentiss@kernel.org> X-Mailer: b4 0.12.1 X-Developer-Signature: v=1; a=ed25519-sha256; t=1696521351; l=861; i=bentiss@kernel.org; s=20230215; h=from:subject:message-id; bh=3yQpTAu+sxNfHSN9OgsgXUOtauvkvvEyt8XXZhf2+8Q=; b=eIdtTxiPAfLwDHc48vMYIjkvNAImwnjNSqDn15AmjAiyy7B9UA+gvMuOv21ud5O/eowiKvU08 bAxL8sik++/B3aUqy31juWFTeDemZbh3/XHcdEvYyoq7jXXpJ20+jXq X-Developer-Key: i=bentiss@kernel.org; a=ed25519; pk=7D1DyAVh6ajCkuUTudt/chMuXWIJHlv2qCsRkIizvFw= X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (howler.vger.email [0.0.0.0]); Thu, 05 Oct 2023 09:11:29 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1778932557873150535 X-GMAIL-MSGID: 1778932557873150535 |
Series |
selftests/hid: assorted fixes
|
|
Commit Message
Benjamin Tissoires
Oct. 5, 2023, 3:55 p.m. UTC
Turns out that we were relying on the globally installed headers, not the ones we freshly compiled. Add a manual include in CFLAGS to sort this out. Tested-by: Nick Desaulniers <ndesaulniers@google.com> # Build Signed-off-by: Benjamin Tissoires <bentiss@kernel.org> --- tools/testing/selftests/hid/Makefile | 2 ++ 1 file changed, 2 insertions(+)
diff --git a/tools/testing/selftests/hid/Makefile b/tools/testing/selftests/hid/Makefile index a28054113f47..2b5ea18bde38 100644 --- a/tools/testing/selftests/hid/Makefile +++ b/tools/testing/selftests/hid/Makefile @@ -22,6 +22,8 @@ CXX ?= $(CROSS_COMPILE)g++ HOSTPKG_CONFIG := pkg-config CFLAGS += -g -O0 -rdynamic -Wall -Werror -I$(OUTPUT) +CFLAGS += -I$(OUTPUT)/tools/include + LDLIBS += -lelf -lz -lrt -lpthread # Silence some warnings when compiled with clang