Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp2587495pxk; Mon, 14 Sep 2020 18:31:01 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxg4XjugS1C3Eaxmua0mNF5fObdfA4++Zjn6eba/FfCYHK41v4vnY1FEQ/ek1BOfBH5X9kC X-Received: by 2002:a17:906:cf9b:: with SMTP id um27mr17556107ejb.66.1600133461252; Mon, 14 Sep 2020 18:31:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1600133461; cv=none; d=google.com; s=arc-20160816; b=JBro7aKzTO8PL1FOFgpsClCrI3Gp99BgAPfH6xaA3YvYnY8nPM4BrQnt0uhtDe2Xf2 eftffC95fNunBiyg4Do/TNqN4IOE79s6IPRrZWGSFiW3+dUmP637kUv1o8yddk9rdBQa L7CF8l9zLcR+3boiA8sSndAWf9L9UHNlG7Sxtly/+wLfGAJrE+POg0f1ceWO+AQE6iho l1klKaBPYRCnZnRx9azES+VetSBUqaErlZugDY5JgKd+ioa9xgz4/byDAe7PnWpZ/acQ CikHAsm9FcBLYDMYjR8+Ny3KqrW5aDgGg9dbFFo3ajaVKz8KVOZz928QG1LGWSjD0FOy +/vg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:dkim-signature:content-transfer-encoding :mime-version:message-id:date:subject:cc:to:from; bh=0djzV/LDjmQc0EmERcsWRX2BdMhvHYwhbZYf6UboQaU=; b=XTEclOA8j5dADsR7ITQ923y3uHoPGm/dKQvN6hZhsdvS9azgYRJ8c3PrkLX8KEtU1A BCozlVwtLgWR9GrofhiNXLk1d18u+SsOXZ2DBc41Dvm4fGsgFeOfeamFRt6F0jr1qmBJ kexdxqzQOxs2Rig1wqKOYen9E3CecWBJOnq24JDlScJFjhosto70WxErNeHRNdGOQ45u ivTJZWDivWvlpWpxYkRurlWqdNsR46zqsHoO/wToq5LVv5iT5vX92jFhRHkgBbeZfWbP at3mNBXnrjoZDcZsUZvgKg5/CsvyIDa8OgtPwyQN7oK/veUzom08EMZDu+YqjMd85rMS 9hGw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nvidia.com header.s=n1 header.b=mtdtXYcE; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nvidia.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id bt16si8134193ejb.314.2020.09.14.18.30.38; Mon, 14 Sep 2020 18:31:01 -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=@nvidia.com header.s=n1 header.b=mtdtXYcE; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nvidia.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726222AbgIOB3X (ORCPT + 99 others); Mon, 14 Sep 2020 21:29:23 -0400 Received: from hqnvemgate24.nvidia.com ([216.228.121.143]:10927 "EHLO hqnvemgate24.nvidia.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726196AbgIOB3D (ORCPT ); Mon, 14 Sep 2020 21:29:03 -0400 Received: from hqpgpgate101.nvidia.com (Not Verified[216.228.121.13]) by hqnvemgate24.nvidia.com (using TLS: TLSv1.2, DES-CBC3-SHA) id ; Mon, 14 Sep 2020 18:26:42 -0700 Received: from hqmail.nvidia.com ([172.20.161.6]) by hqpgpgate101.nvidia.com (PGP Universal service); Mon, 14 Sep 2020 18:29:03 -0700 X-PGP-Universal: processed; by hqpgpgate101.nvidia.com on Mon, 14 Sep 2020 18:29:03 -0700 Received: from HQMAIL111.nvidia.com (172.20.187.18) by HQMAIL107.nvidia.com (172.20.187.13) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Tue, 15 Sep 2020 01:29:02 +0000 Received: from hqnvemgw03.nvidia.com (10.124.88.68) by HQMAIL111.nvidia.com (172.20.187.18) with Microsoft SMTP Server (TLS) id 15.0.1473.3 via Frontend Transport; Tue, 15 Sep 2020 01:29:02 +0000 Received: from sandstorm.nvidia.com (Not Verified[10.2.52.22]) by hqnvemgw03.nvidia.com with Trustwave SEG (v7,5,8,10121) id ; Mon, 14 Sep 2020 18:29:02 -0700 From: John Hubbard To: Andrew Morton CC: Shuah Khan , LKML , , , John Hubbard Subject: [PATCH 0/2] selftests/vm: fix some minor aggravating factors in the Makefile Date: Mon, 14 Sep 2020 18:28:59 -0700 Message-ID: <20200915012901.1655280-1-jhubbard@nvidia.com> X-Mailer: git-send-email 2.28.0 MIME-Version: 1.0 X-NVConfidentiality: public Content-Transfer-Encoding: quoted-printable Content-Type: text/plain DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nvidia.com; s=n1; t=1600133202; bh=0djzV/LDjmQc0EmERcsWRX2BdMhvHYwhbZYf6UboQaU=; h=X-PGP-Universal:From:To:CC:Subject:Date:Message-ID:X-Mailer: MIME-Version:X-NVConfidentiality:Content-Transfer-Encoding: Content-Type; b=mtdtXYcEh9CMQkeKkVZq4XA41wpSDBcY3Z827QcXQumR8D/AqUL6PHSPJgvcc7fIH 2j/wUnEvAlvHN7Pp5UoLGKmm0FT8gBTt2d1jJ0S8hScn7AfxXHiOPJLmh+4zKa6Pq3 VOkaWFC24RjCCZ1NrMbMByPbav7MofKO6Y3jxt4oDvsw3e3fDF7qJlCdbqQXR+KzUU YF9/+VRnfV4rpiWrZz7E0ljfXSLebhiXtTdHfwGAxvhEj8mKB8OB8jyMoaeXTh1TDh uZm+5Jv0cSWsz/4G4AjF4hJCthkLILW9YInzmYAMImioVifKKD8k38i/6Xsd961h47 B6cEArXKhsyyA== Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, This fixes a couple of minor aggravating factors that I ran across while trying to do some changes in selftests/vm. These are simple things, but like most things with GNU Make, it's rarely obvious what's wrong until you understand *the entire Makefile and all of its includes*. So while there is, of course, joy in learning those details, I thought I'd fix these little things, so as to allow others to skip out on the Joy if they so choose. :) First of all, if you have an item (let's choose userfaultfd for an example) that fails to build, you might do this: $ make -j32 # ...you observe a failed item in the threaded output # OK, let's get a closer look $ make # ...but now the build quietly "succeeds". That's what Patch 0001 fixes. Second, if you instead attempt this approach for your closer look (a casual mistake, as it's not supported): $ make userfaultfd # ...userfaultfd fails to link, due to incomplete LDLIBS That's what Patch 0002 fixes. John Hubbard (2): selftests/vm: fix false build success on the second and later attempts selftests/vm: fix incorrect gcc invocation in some cases tools/testing/selftests/vm/Makefile | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) --=20 2.28.0