Message ID | 20230127135755.79929-6-mathieu.desnoyers@efficios.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:eb09:0:0:0:0:0 with SMTP id s9csp847276wrn; Fri, 27 Jan 2023 06:01:16 -0800 (PST) X-Google-Smtp-Source: AK7set8hnp/tobBCW7lX0y0kNRJiNrsO0fnxUKRRSJeutbHUGjhShXnZgWlkt/HgwnPKg8JB31My X-Received: by 2002:a17:906:d0c2:b0:878:5fdc:3850 with SMTP id bq2-20020a170906d0c200b008785fdc3850mr7074791ejb.48.1674828076395; Fri, 27 Jan 2023 06:01:16 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1674828076; cv=none; d=google.com; s=arc-20160816; b=eLnqvEwMMltugnGjoEnavNpQSRCXCg5blgZjZQOKceF+N15qsNN5QrZhyOhhwRjASf z79Imqm2LZu4wCrLraLDshmFLFI2lYjppuq/O1eW+YgOm1PZ/K0U7QuFA9CkkEKH7ZPI EP5ic5aHeadihtjs5dHHAo+Tkm4UurW6WgkFA4Tfh+cPbpXlZ3e/cRPQB02eiNO1iQtC G7sXo5f6RjbkCexNtmkeVbBlpzOMhVyo7WQlO+gEIOzbrYPGVJuzqLFFC+qws8yYFCyY V/87+7wqTNKSf3FJstDKIRpjOrD+Sk/wbM8FPutr3N2b2OaCsTWOyZpBpJ/zoMy43897 chdw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=3ezcXQWq1Ga7BQBdUt82a8/HPJGPnHQzW3gIgMKoqoA=; b=xrxpC5AawoDvxrKHruWOtOeww1cNA/zYqv8fGUqUJrtL9O9xTTue27qeT9uwOXmLL3 UNooNctaMW0QFh/HGvH4sNLdbETrMRFUjDs4oSbdxW7gS2QvXVRv6nVejRiIkP7+4dzc yZAbRege4Sq+wxb6Sd/dU/AX5aGMc1B+5MO/UzoALapSPAMLvXO5XKN3Yx29HMkLF++K pYA0mO9kI+ROkhFDd0bXZrbeRcySE0kTrYFadVvpQLCtdqTIdlN27fJmYEr0plnUbJqs BzlaYjUpt/VKZikXXr0pzhafB4o0pbgG/55epVhF8zZ0YFOE1E9Gb72dg2Rnj/EdBBbP KLyA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@efficios.com header.s=smtpout1 header.b=R2FtjY5B; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=efficios.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id fd10-20020a1709072a0a00b008786508c01dsi4395421ejc.216.2023.01.27.06.00.47; Fri, 27 Jan 2023 06:01:16 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@efficios.com header.s=smtpout1 header.b=R2FtjY5B; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=efficios.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234344AbjA0N6l (ORCPT <rfc822;lekhanya01809@gmail.com> + 99 others); Fri, 27 Jan 2023 08:58:41 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37530 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233632AbjA0N6J (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Fri, 27 Jan 2023 08:58:09 -0500 Received: from smtpout.efficios.com (unknown [IPv6:2607:5300:203:b2ee::31e5]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 81068F744; Fri, 27 Jan 2023 05:58:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=efficios.com; s=smtpout1; t=1674827882; bh=DQfwUmfs5iNfdjrcPzg0HaVMYofBtZ0lo/V3C+VzwwE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=R2FtjY5BDlGSDq3Tp9GCd33whMgy0KMIfA0rbcQs7ZIsF5T9IftAhcL5SrNlOPv6Q tT6XCJh/7Dmx8xCBqEOLV5HgSqj8BOvTms9i8zhkjwlQAnpr+lBdz2BTjeM9KAQAlG GSjzadjtZ6jd28/CP3LIqvgR6rcoDx3ehwKmOFBk2YUqEvHfDmKnT1RgxcuZC34f5R q9cxhz7HaXL2Th/1LkRtksF4tZs1c0g+r7qbN0lzQljypuA95dFX/Sjc6ZEqw1nw+3 ARmRRn5d5qqf8UJqFBIqJ+wuxXUyeV6KvfhRFlz0WTGQfcDwHfef6hsgyEB57vbX6p eNUfMINnAvz0w== Received: from localhost.localdomain (192-222-180-24.qc.cable.ebox.net [192.222.180.24]) by smtpout.efficios.com (Postfix) with ESMTPSA id 4P3K0V1MFXzhWX; Fri, 27 Jan 2023 08:58:02 -0500 (EST) From: Mathieu Desnoyers <mathieu.desnoyers@efficios.com> To: Shuah Khan <shuah@kernel.org>, linux-kselftest@vger.kernel.org, Ingo Molnar <mingo@redhat.com> Cc: linux-kernel@vger.kernel.org, Mathieu Desnoyers <mathieu.desnoyers@efficios.com>, stable@vger.kernel.org Subject: [PATCH 05/34] selftests: dma: Fix incorrect kernel headers search path Date: Fri, 27 Jan 2023 08:57:26 -0500 Message-Id: <20230127135755.79929-6-mathieu.desnoyers@efficios.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230127135755.79929-1-mathieu.desnoyers@efficios.com> References: <20230127135755.79929-1-mathieu.desnoyers@efficios.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.3 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RDNS_NONE,SPF_HELO_NONE, SPF_PASS autolearn=no 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-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1756184525092698124?= X-GMAIL-MSGID: =?utf-8?q?1756184525092698124?= |
Series |
selftests: Fix incorrect kernel headers search path
|
|
Commit Message
Mathieu Desnoyers
Jan. 27, 2023, 1:57 p.m. UTC
Use $(KHDR_INCLUDES) as lookup path for kernel headers. This prevents
building against kernel headers from the build environment in scenarios
where kernel headers are installed into a specific output directory
(O=...).
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Cc: Shuah Khan <shuah@kernel.org>
Cc: linux-kselftest@vger.kernel.org
Cc: Ingo Molnar <mingo@redhat.com>
Cc: <stable@vger.kernel.org> [5.18+]
---
tools/testing/selftests/dma/Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tools/testing/selftests/dma/Makefile b/tools/testing/selftests/dma/Makefile index cd8c5ece1cba..dd7f746f3e84 100644 --- a/tools/testing/selftests/dma/Makefile +++ b/tools/testing/selftests/dma/Makefile @@ -1,5 +1,5 @@ # SPDX-License-Identifier: GPL-2.0 -CFLAGS += -I../../../../usr/include/ +CFLAGS += $(KHDR_INCLUDES) CFLAGS += -I../../../../include/ TEST_GEN_PROGS := dma_map_benchmark