From patchwork Fri Jan 27 13:57:37 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mathieu Desnoyers X-Patchwork-Id: 49417 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:eb09:0:0:0:0:0 with SMTP id s9csp847274wrn; Fri, 27 Jan 2023 06:01:16 -0800 (PST) X-Google-Smtp-Source: AMrXdXvshtvnLiM/lGENJZ0t2iPeOFchH9dpaxqqQx4I2qVTazFWgzSH6elzecq7BUvJCDuiEQCU X-Received: by 2002:a17:906:684e:b0:84d:3794:5748 with SMTP id a14-20020a170906684e00b0084d37945748mr36557222ejs.9.1674828076393; 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=r9oxS6boWJ/BRvUvH9gVf3z9WSYmUe82WkvFJFxOxrNQFoqnGTmXk/2PVgkAVrYbMc s1IQNI8CU8jjn2SzMoUr/uREgi8GaNVTtMmQiku4G68Wl15WWYnSLpVIgTww/GoZdf0f yWPKgGCvVe1mojVtLYFzH8iayF7uxNp8DzmETfJQiENUskLZEKIFDS+JR/DtSNldT9Pz kFwfigSHcDZaKfiCe8GWt96zCRHnJmBKZY4oHzlJvf1gXR9qvfCk97KUkfooauo68ihe e2rMKbSrSNAAuKRynt7IdEIEM0WURDNT/3BI7+PjA7vqrki+4OujbvbuwUA3M6HlvKfP f98A== 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=dcqXVFkcCxl1+oevze40zLIxVvjoSGiWV36R0UUonZs=; b=fQO+QJ4UDblmAuCQ+jSLqiRMrAdcLzas8gjPJhQIaCcTfydm4PXmRTg37K8GEJsR+2 sMO+ZWkTVtS7kof5xyBwNn1MwESnbWnSMPI7PKi8FuOPa4pVgO0cCqx/qFIJ2u8Jk2Ey sepmMD80f3DWSChPdygFb7C86I09mXFBOlQ5fRarcqA5UJ8YI9z8JvpLJ+9FETZrSyHK G73C7xlfOnUqd3hPfQurUI6r+sRRliHREQE+VyIwZTCnPI2jU1Wky7hKaEzhAn0L3i6/ JTeCVm1T6f3EQ1pfaxWqfyWOTJBiSA+jtUpMiNqjuhg23lBeisaFiG6k+o5fmdwUlnYE KC2g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@efficios.com header.s=smtpout1 header.b=jv0ybvBu; 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 fi5-20020a056402550500b004a20c90138bsi1674173edb.553.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=jv0ybvBu; 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 S234602AbjA0N7R (ORCPT + 99 others); Fri, 27 Jan 2023 08:59:17 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37674 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233739AbjA0N6M (ORCPT ); Fri, 27 Jan 2023 08:58:12 -0500 Received: from smtpout.efficios.com (smtpout.efficios.com [167.114.26.122]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 688582197E; Fri, 27 Jan 2023 05:58:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=efficios.com; s=smtpout1; t=1674827884; bh=k3Z/Eqp3e8HyxFyohB0vGYb9ihS+11AAagQRfVUvXCQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=jv0ybvBusQbcS1LsrWWsK7bbFqIGXNAoSo7I58/nh8B4SvrDZz0BpRTpgIU36akLb lHBA28sJT/rynLoy0RCC4KsdCtqAb3lBVpNN6MxdJIv214RjTBzrz38LMH4CQ5MkLF 0j1PqndXYTop1JRH8diTjjeyhSkS/CRwqMbwV8DflReQnvq50hk7aWNsDYjZTBwicn LK3T2xj71BTWuiTS1RJaa/SvfFJMhewAkpBn2fFbkdrCq5ONJM9qZvSpqNj5dE5kCS hadmPm0QrXGPmkMk6aoyhktcVAueNy9AtSsk8NbWqE17cPi1NKb7iD3Pi/5rmu52YB xKZ3lNi8w+0Pg== Received: from localhost.localdomain (192-222-180-24.qc.cable.ebox.net [192.222.180.24]) by smtpout.efficios.com (Postfix) with ESMTPSA id 4P3K0X3v5ZzhWc; Fri, 27 Jan 2023 08:58:04 -0500 (EST) From: Mathieu Desnoyers To: Shuah Khan , linux-kselftest@vger.kernel.org, Ingo Molnar Cc: linux-kernel@vger.kernel.org, Mathieu Desnoyers , stable@vger.kernel.org Subject: [PATCH 16/34] selftests: move_mount_set_group: Fix incorrect kernel headers search path Date: Fri, 27 Jan 2023 08:57:37 -0500 Message-Id: <20230127135755.79929-17-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 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,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: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1756184524922866947?= X-GMAIL-MSGID: =?utf-8?q?1756184524922866947?= 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 Cc: Shuah Khan Cc: linux-kselftest@vger.kernel.org Cc: Ingo Molnar Cc: [5.18+] --- tools/testing/selftests/move_mount_set_group/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/testing/selftests/move_mount_set_group/Makefile b/tools/testing/selftests/move_mount_set_group/Makefile index 80c2d86812b0..94235846b6f9 100644 --- a/tools/testing/selftests/move_mount_set_group/Makefile +++ b/tools/testing/selftests/move_mount_set_group/Makefile @@ -1,6 +1,6 @@ # SPDX-License-Identifier: GPL-2.0 # Makefile for mount selftests. -CFLAGS = -g -I../../../../usr/include/ -Wall -O2 +CFLAGS = -g $(KHDR_INCLUDES) -Wall -O2 TEST_GEN_FILES += move_mount_set_group_test