Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp1111988pxk; Fri, 2 Oct 2020 01:00:59 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyRRsTSkgr6MMfJIUHrvPlNimUWpDl/f9hYlm3K4DMlpZsmMWNHsStJJeevpZKKg/heIGs1 X-Received: by 2002:a17:906:841a:: with SMTP id n26mr1016655ejx.213.1601625658873; Fri, 02 Oct 2020 01:00:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1601625658; cv=none; d=google.com; s=arc-20160816; b=UUJgrweQkKPodmGNSjPo8dj2TK9D7ZRMJFKJ5IgZIpylO8y6rI1wcWewE0ZfRQ6paY PRV2GtCpUkNVYKW7TuWCpF4H0yXc1BvI0S5EI1tSU1N5KUaOMQ7cx0NLf7Bq8VQn/1gz 6t7/xIy4NoWCTSxyRNXvpVoqHEdJHjGcCxI1GtaYj1PrpV/LWarCVhd9C0EGLJkMgqY3 09r8E924XHJrsZi9me+aF7Q0ht1qOSdf3SWbkQP0KO+6peEPYQ4MloDuB5VtJ49NMzUt SOARS1cF1lKpYLMxwzhBFePmx5iReArK/oXh0oGG5zFi+1zDPJj53BDED6CmLsmthF8e DnYg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:references:in-reply-to:message-id :subject:cc:to:from:date:dkim-signature; bh=K3l4G4l1L7Ax9qKLfhKU5A/yE3OB4TlROS3YiipYnyE=; b=bsJeFR9XqYn8HSVBHe+c8kGfzOV7YOuS+xzHUDgI8BdEmxhj5eSZVBwNR83VFyOahN 5xAXsrLgUQcLTt1PUsHYvpuITrsWiVb8DGZKjC4Ev5pwzGRTN0alvbSvOL2S+uu+R8MB jXFSCbqJcDauFqUZQ90tJ7f4mTKxTISQXfzbi60ABf6bJ+ecbLTWlOVyVSqlcQuPeHpQ r37PMpT+/nQXt35DIsccz+FI/KoCdxtWQoQjOi7t3ZPESPgctFx5v+MMj3BPb5rV4hj3 kzspd3+y24gxSGcjAu+95r8AJVDt3Y2gpO/8z/EHpw3sHcmhh0ZgPajoM7O6s20fMy7C kDdA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@canb.auug.org.au header.s=201702 header.b=Zzo+yPbj; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id yd11si581142ejb.184.2020.10.02.01.00.35; Fri, 02 Oct 2020 01:00:58 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@canb.auug.org.au header.s=201702 header.b=Zzo+yPbj; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726229AbgJBH7g (ORCPT + 99 others); Fri, 2 Oct 2020 03:59:36 -0400 Received: from bilbo.ozlabs.org ([203.11.71.1]:51791 "EHLO ozlabs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725968AbgJBH7f (ORCPT ); Fri, 2 Oct 2020 03:59:35 -0400 Received: from authenticated.ozlabs.org (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mail.ozlabs.org (Postfix) with ESMTPSA id 4C2j7n02Q7z9sSC; Fri, 2 Oct 2020 17:59:32 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=canb.auug.org.au; s=201702; t=1601625573; bh=OkRahBuUgOJ+bPRpFw5pqVSDAYrGe4TbxIqbLavU76g=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=Zzo+yPbjZpOtIwXGdeQwoVvDqciTsmluz+FdmnJYFEnfdA7EvMpf8gAh/U5eABLzE xERAmVmjTlP4nJrN1Bclo1hH37ZvuZgQNJx67lYfeeFl/hFPdfscdWlinNJyavvlWC WM1ibG4scqzqhP4SUoh6aKBSeUwYFlIjQ1YaluX5Dc43iEFwrSA4qDw/yXyx015DB0 pdBobNhw6kD/OhBwc+d/tLLCw/K9sHnaS2qhH6gIh38HSAJSgwvBOulV91pU6YbfN3 DxL4M8I6XdXNKJKwl05VWWaiQLVMGVhZlH8IcnF/t/90qQ/I8WpCpINoL6ePXRhTpz Zv2hn7z8ps+6Q== Date: Fri, 2 Oct 2020 17:59:31 +1000 From: Stephen Rothwell To: John Hubbard Cc: Andrew Morton , Linux Next , LKML , Subject: Re: [PATCH] selftests/vm: fix: make check_config.sh executable Message-ID: <20201002175931.5317ef64@canb.auug.org.au> In-Reply-To: <20201002064811.435769-1-jhubbard@nvidia.com> References: <20201002064811.435769-1-jhubbard@nvidia.com> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_/xtO5/x_LCXVCRm_BYvugP.k"; protocol="application/pgp-signature"; micalg=pgp-sha256 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --Sig_/xtO5/x_LCXVCRm_BYvugP.k Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Hi John, On Thu, 1 Oct 2020 23:48:11 -0700 John Hubbard wrote: > > commit 30fb9454ab23 ("selftests/vm: hmm-tests: remove the libhugetlbfs > dependency") created the new check_config.sh file without the execute > bits set. This is a problem because the Makefile runs it with "./", so > now "make" is failing in that directory. >=20 > The posted patch [1] does seem to have it as an executable file, so I'm > not sure how this happened. But in any case, make check_config.sh > executable again, so that "make" in selftests/vm works once again. The correct fix is to make sure that the Makefile runs it explicitly with a shell because is such a patch is applied with patch(1), the execute bit will not be preserved. See e.g. in the top level Makefile: $(CONFIG_SHELL) $(srctree)/scripts/gen_autoksyms.sh $@ --=20 Cheers, Stephen Rothwell --Sig_/xtO5/x_LCXVCRm_BYvugP.k Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEENIC96giZ81tWdLgKAVBC80lX0GwFAl923eMACgkQAVBC80lX 0Gy/vAgAkrfjf16OkbBuUzkb+lkFNt8sQhXlaysO4C7GjbSbzoyCkTJav+xGbrk2 JyQobQe7CkNKgh25sHxL1Mo2ZOoDhydqdzgt22q0iu6Df1j5fqmhK/3qROpT+Jsj i+L4gmdqNQ9uMO9hiX/FBRkCaDCTmjaC+VoBgHYFvqDD2210aOrwYWmokUWh30Mx 5LYY1Z3pfvPwJJEs9DftBGbW1IwgcP/Pqz+DNcizWWA0dJZt2xz4xBFpf9PmbLY6 GEYBrh6dFOQJTgU+GGnTcgzkhhQxnEjHfDa/ATp0m/7ij4ejwueP1ikqxkUGaYsX Zl03iFomQqEcOtoznce1ewRnfR36fQ== =1EHW -----END PGP SIGNATURE----- --Sig_/xtO5/x_LCXVCRm_BYvugP.k--