Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp3870915pxb; Tue, 17 Nov 2020 05:52:39 -0800 (PST) X-Google-Smtp-Source: ABdhPJz9lRiPJcqLBm7imWC+T5TcQtOiZgLkkEg3yRE6WJwdx/pUO2PAVoNKqiGis9NX6lYLlnB4 X-Received: by 2002:a17:906:1d50:: with SMTP id o16mr19899518ejh.145.1605621159568; Tue, 17 Nov 2020 05:52:39 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605621159; cv=none; d=google.com; s=arc-20160816; b=Czflrs+scuKJR9ge3X3r5uuomFrReXA8UwkOBvAJ/rSKX9+4Y0iBKEo1bgrKoXeNLm 33QdAXu5C2QAMFyoCPLzqMMNDwRFk/l+KfAtNpmyuHnamejpHwx3U28npecBeh/0xcB7 zRDXuMQhkAisGmO+zjR11S1yZE/ztfUFhSzMrU43c3D1ziYSND5onjYyNSFJHrKXzIv+ HtPBJykyPQmxPUb34SW2izUuEK3DWaWtLD4PrFlR8neKFrmLE80yAt8sRA5EVPFkDLmk YRpl63OkIvgEnKV4Aru9EmIeUfiNkIFJq5/ueZywn8f3ZLxK4sd+n4moa3KB1+J040QC nJSg== 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 :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=+HppLiex2MsAqrAUwQQCIsImv4dIFBGZw/kzxbYvLrc=; b=QZzZtmSyqq2gPfg86OX/9JwxAL4DvERXrhjLXH0yx7uQCIkCANDMEtMARMoMZt1jhM UrI9Gaxih7i7Ob787ymJGv82MpvVeuayxmjo8f8QBt8aeKc4LV8sfdBY2dXDfC/2ogEB ZvhfHbn8PnH0q5bYf7es5nz61mtL4d9iqjIt68mzkhFd9Iu7jpRHDZ+UdasiVEyeqbzS Tebv6xV+S5fV0seGZ1ShSpOfFFBZeQB4wxpr8jcbwOLJRpQ4Ux+outtohlWf7sSLLAHO RryvZ7V+frVi2iN/G22r9ztU75oADgge5gkLFrMBDF1F0ODhcsGKxxd9pJ9DYQLdYSDj PBtA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=he6XluYp; 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=fail (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id g22si13989432edr.89.2020.11.17.05.52.16; Tue, 17 Nov 2020 05:52:39 -0800 (PST) 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=@kernel.org header.s=default header.b=he6XluYp; 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=fail (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732651AbgKQNtJ (ORCPT + 99 others); Tue, 17 Nov 2020 08:49:09 -0500 Received: from mail.kernel.org ([198.145.29.99]:44136 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732104AbgKQNdw (ORCPT ); Tue, 17 Nov 2020 08:33:52 -0500 Received: from localhost (83-86-74-64.cable.dynamic.v4.ziggo.nl [83.86.74.64]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 380322463D; Tue, 17 Nov 2020 13:33:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1605620032; bh=RxdypS5yFALZA7A6ct64lelo/+SmNXp/dWCwIyV0Fao=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=he6XluYpKx8qiVD+zQ/rNTcZOSLiXSUC5xIHexB1XSAo+MVuE0G8+pV73QEq4H103 H0TZANSFnOnZPA/y+E8Vl9IBAbxPFG3o0Bfl74V0gu5LsQCYbl/vvltus3rtsrpRUZ zIfS8ZV2wnIu0uvdIcH9V8VOx0MLFV5B8XbN9Lo4= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Tommi Rantala , Kees Cook , Christian Brauner , Shuah Khan , Sasha Levin Subject: [PATCH 5.9 085/255] selftests: pidfd: fix compilation errors due to wait.h Date: Tue, 17 Nov 2020 14:03:45 +0100 Message-Id: <20201117122143.095474739@linuxfoundation.org> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20201117122138.925150709@linuxfoundation.org> References: <20201117122138.925150709@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Tommi Rantala [ Upstream commit 1948172fdba5ad643529ddcd00a601c0caa913ed ] Drop unneeded header inclusion to fix pidfd compilation errors seen in Fedora 32: In file included from pidfd_open_test.c:9: ../../../../usr/include/linux/wait.h:17:16: error: expected identifier before numeric constant 17 | #define P_ALL 0 | ^ Signed-off-by: Tommi Rantala Reviewed-by: Kees Cook Acked-by: Christian Brauner Signed-off-by: Shuah Khan Signed-off-by: Sasha Levin --- tools/testing/selftests/pidfd/pidfd_open_test.c | 1 - tools/testing/selftests/pidfd/pidfd_poll_test.c | 1 - 2 files changed, 2 deletions(-) diff --git a/tools/testing/selftests/pidfd/pidfd_open_test.c b/tools/testing/selftests/pidfd/pidfd_open_test.c index b9fe75fc3e517..8a59438ccc78b 100644 --- a/tools/testing/selftests/pidfd/pidfd_open_test.c +++ b/tools/testing/selftests/pidfd/pidfd_open_test.c @@ -6,7 +6,6 @@ #include #include #include -#include #include #include #include diff --git a/tools/testing/selftests/pidfd/pidfd_poll_test.c b/tools/testing/selftests/pidfd/pidfd_poll_test.c index 4b115444dfe90..6108112753573 100644 --- a/tools/testing/selftests/pidfd/pidfd_poll_test.c +++ b/tools/testing/selftests/pidfd/pidfd_poll_test.c @@ -3,7 +3,6 @@ #define _GNU_SOURCE #include #include -#include #include #include #include -- 2.27.0