Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp696767imw; Wed, 13 Jul 2022 06:30:13 -0700 (PDT) X-Google-Smtp-Source: AGRyM1tIkDzmQz25+58QV9GvG7/pfWrTaN2dLO+F37Q31PYsUZF5/4nB5bIYBmHBmkXd76sTyc4d X-Received: by 2002:a17:906:ef8b:b0:72b:58da:b115 with SMTP id ze11-20020a170906ef8b00b0072b58dab115mr3284454ejb.417.1657719013631; Wed, 13 Jul 2022 06:30:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1657719013; cv=none; d=google.com; s=arc-20160816; b=zvbdFxh7SBSDGaSJK4/m3tjTy207cl2jLmdtyCVqVBGNVGYy83die4ucCpQwXZVmbO 8bo+AsxaKtA9ivzTXFV6fRFofl51nOqrHVsP1fWqIxGMdN4UCIEQ97RhQnpHvRvhrxsO eq9HVuuOBvjg/WI3dRUffP8I+KwkOWPGH/pIovyKh/tWysxTHW4eYu2v23YZBSL8kQwz ZZtTJHNXI3XtK1hYkhvHUp94N1aOeZvMuJ+ffQwHubkWevIbxAR0qB+lCVVAY8Gb743r n8loipaP7S34N6kWZ7/rD1a+LuQ5GW1LcBlzaLhGe4jpH54WxaQ/FzQUeM3e4LHC4IqK HJ+Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=oyGWS/72wd0zaRx++Y/ViHgQ5RDaP15RWcwDIsPEJGE=; b=obIu4XPfFQLKvO+BDEx2ojbwOfqNcyxutapqM1jVQvcH5JVGBriFh0TLDSWdeBGe0Q DY61+Zem+4WYFPcjPOBiaBXs/fjIBS+/VBJgm+PHfGd7moi7bRNXLG+RFPyPYy+E3aoZ +rBKLYuhXjb1i1RCg68C2p2U9/uvlifcy8WU3gmhHjrl/vgg+iLkWkHThoa3FJa8Jw7b yb1RI9j8QrHfy19CxNDYrSDEDYx3vpWvKkdowwsmJVtj4Ip0CWp5/W8/z1jVpcG39TLL mcfDDyMH230JUs+Kyp4+tuHwzKHjnjUSGyjuOjqTL/7SPBVMv/QNFXaOHfOqWH67P7sV I7CA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=P4hVcmUI; 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=collabora.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ho8-20020a1709070e8800b0072b66c5cdf0si10585733ejc.481.2022.07.13.06.29.49; Wed, 13 Jul 2022 06:30:13 -0700 (PDT) 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=@collabora.com header.s=mail header.b=P4hVcmUI; 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=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235703AbiGMNER (ORCPT + 99 others); Wed, 13 Jul 2022 09:04:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51962 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235802AbiGMNEM (ORCPT ); Wed, 13 Jul 2022 09:04:12 -0400 Received: from madras.collabora.co.uk (madras.collabora.co.uk [46.235.227.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9E11B109; Wed, 13 Jul 2022 06:04:11 -0700 (PDT) Received: from [192.168.0.24] (86.166.5.84.rev.sfr.net [84.5.166.86]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: gtucker) by madras.collabora.co.uk (Postfix) with ESMTPSA id E71D766019BF; Wed, 13 Jul 2022 14:04:08 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1657717449; bh=DJ+Ifi8q1WZKJgWhlUSNwAnvaUire0QYSjxk5nepsmo=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=P4hVcmUIXP6LG161pXraZZktponzCwBMPKtf3oM1oGGKt2yogmLj6r/ZcUlJsjO8k gE6ArqhETBVaxuy+ZmSNQtM0PdTKuV0pgotE94ZTROKe8ekKNXRx90N05s1JseLABv h9XlVjq8QZZGJxUpFaRfB/iBZ6mBuD2huvPQq/SyN3PjQ2CQOPwsrxXoxnc9173czn Tb0GZ2fB0v++AozwwI58NAGAuiUVT93FN0DZM/9bwmvZBt2gyHvUhVdUpkUJPyKM0o T/+8bVpHZRQx7NRKeK6fWALNamuh0kEblrur2na9mAXxTZ6gwhowMN6iB4tIuKV+Rc PydcKPiXgXTvA== Message-ID: Date: Wed, 13 Jul 2022 15:04:09 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.10.0 Subject: Re: [PATCH v2 4/4] Makefile: add headers to kselftest targets Content-Language: en-US To: Nicolas Schier Cc: Masahiro Yamada , Michal Marek , Nick Desaulniers , Shuah Khan , Kees Cook , Anders Roxell , Tim.Bird@sony.com, kernel@collabora.com, linux-kbuild@vger.kernel.org, linux-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org References: <745d1921a4d048ea25d262e33b40aad5ee470614.1657614127.git.guillaume.tucker@collabora.com> From: Guillaume Tucker In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE 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 On 13/07/2022 11:09, Nicolas Schier wrote: > On Tue, 12 Jul 2022 09:29 +0100 Guillaume Tucker wrote: >> Add headers as a dependency to kselftest targets so that they can be >> run directly from the top of the tree. The kselftest Makefile used to >> try to call headers_install "backwards" but failed due to the relative >> path not being consistent. >> >> Now we can either run this directly: >> >> $ make O=build kselftest-all >> >> or this: >> >> $ make O=build headers >> $ make O=build -C tools/testing/selftests all >> >> The same commands work as well when building directly in the source >> tree (no O=) or any arbitrary path (relative or absolute). >> >> Signed-off-by: Guillaume Tucker >> --- > You might want to add the 'Reported-by: as you did in > https://lore.kernel.org/linux-kbuild/a7af58feaa6ae6d3b0c8c55972a470cec62341e5.1657693952.git.guillaume.tucker@collabora.com/ Except I don't know who reported the issue, I think it was just very well known. KernelCI builds have been working around it for a couple of years. The Reported-by in the other patch was about using "headers" rather than "headers_install", as a follow-up improvement on top of this patch. > Tested-by: Nicolas Schier Thank you! Guillaume