From patchwork Wed May 22 00:57:20 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Edward Liaw X-Patchwork-Id: 13669902 Received: from mail-pj1-f73.google.com (mail-pj1-f73.google.com [209.85.216.73]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 953CD14EC7E for ; Wed, 22 May 2024 01:01:07 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.216.73 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716339668; cv=none; b=ElhzabN38Yq+aWt8aK+bVJQTJrtETv2fpDa49ylbzBM7neIdbsWIyzKxUWaYQ6vUvW3UXvWDBxZFmyQ3lYahHJDYgcrgk2nWmtm8Fyq0sT+Z+p6+vOSQnglKcPm51zYq/vkDZy2STAg41QlgYWyVaBXbuCLuz74xbqc5WzAEAAU= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716339668; c=relaxed/simple; bh=eIDZq+0xm3dfSBw7qVu6+2fYNcoy6VlTd+X6zySyELM=; h=Date:In-Reply-To:Mime-Version:References:Message-ID:Subject:From: To:Cc:Content-Type; b=lCoWxdRY61LOGARuLiOW+4N70ELJ2yPxiYQqLj/FWsNltkRvwxZeGOmFRYrW5bIOtYeZbpG2Dfxk8az3Wir6wL6jkx8wv+viJ2yE8G60o8ypxp/luC9w/ViyllDByDLQ7NaMS2wtOXDXGPgs1kDV0OOocEplg6kafw7HPWBUJUs= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com; spf=pass smtp.mailfrom=flex--edliaw.bounces.google.com; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b=eWO96TLL; arc=none smtp.client-ip=209.85.216.73 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=flex--edliaw.bounces.google.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="eWO96TLL" Received: by mail-pj1-f73.google.com with SMTP id 98e67ed59e1d1-2ba0fd5142dso296432a91.1 for ; Tue, 21 May 2024 18:01:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1716339667; x=1716944467; darn=vger.kernel.org; h=cc:to:from:subject:message-id:references:mime-version:in-reply-to :date:from:to:cc:subject:date:message-id:reply-to; bh=ks1TxZm74BwnYcvWntsjvOvPgr4COyU4wUcMCGvwta8=; b=eWO96TLLIim57gih6eEo0LseBu6tndf7ONG+xkUKNfAEWmLub31qhdjw8ni6WGvPlj g9ClqRAxjI5wzR3FSuoJf6x5wmC8HMFrEIF+hTQpxGaK/hB5ltN2tJKI95K8FVf4nnLG NbOWqBwnry/KPqj1+LnjyKnNJ6fYBq8u7JqFMI4D1d0ZJIxhiuoJ3FHrA47sYV7dmL52 C8ZJTW6UrFfHW7yMu/cCYaXjnW4ibr+L+LQWbDleygOzozg0XtbiVXbijGu/cYZsw4et qIQ1lIvRF3Go5H51oAeAnnL64UY40wmNRBiN4+EAlJFUogyfx76dib4oGs49jaur4leI BsFg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1716339667; x=1716944467; h=cc:to:from:subject:message-id:references:mime-version:in-reply-to :date:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=ks1TxZm74BwnYcvWntsjvOvPgr4COyU4wUcMCGvwta8=; b=hieA2u8Jv0eH38QgpHcJXac6bGU4pYUuZSiQnWE+nNz0XQfgy+lXp6KKbcFP9HvvID v+4a5pHLZ91sHFlEhsxl5eg8msr0Hvvx8+bO7ct614k9uyfRJ4JfmYBesMVWGgmNvvUq 5tpwdbMOLBJ2NPRYUIsjNTd0Pv0SjmokSBdPww1T305Tu7wEofWFOmkEajOiwxyzgUsV 5cXHkZ2lPjGVJVwl5ZRC5xRpF6GbTb+gkcozHESlAn+2I1qaOu6pIQSndfRUw7IDmYsJ 8/z9/MuwW5uRVvi3/wOJThYcVdcJC0wxy3O9NMsoyR0DDNwYz1vOEzb+2n8SLswsK36q Sldg== X-Forwarded-Encrypted: i=1; AJvYcCXl6avQWt9FArnuXqbB3ilOw0RiUDaexF4IHtn4OfqbJe6UXzbVLbk2kR0jk7SHLjT4dcIpxbQs6XpnGqKYmrlay7YeW9eI5USyaqmxxmmT X-Gm-Message-State: AOJu0Yw7h9+SLIGS5uua0BXnr4sUGQORx8L8J7LXROMAkVrd3ONXCtbZ G4sCX4i3e+rA0F7l3MgtwnoSE2ABVrDH3XDsQ7JDNt/0ROMW/dd92xWs1fftSaTW/0CAM+7865Y ADA== X-Google-Smtp-Source: AGHT+IE2BPpNcURJ4aVDF/EWLlqxZisBRuDQmW3J9W1FLhDsuBG8XYND6sv5FfH6pfqz3Ivw8kpZfbXcVwI= X-Received: from edliaw.c.googlers.com ([fda3:e722:ac3:cc00:24:72f4:c0a8:305d]) (user=edliaw job=sendgmr) by 2002:a17:90a:b78d:b0:2b9:6fd8:2ff7 with SMTP id 98e67ed59e1d1-2bd601f0e18mr74966a91.0.1716339666568; Tue, 21 May 2024 18:01:06 -0700 (PDT) Date: Wed, 22 May 2024 00:57:20 +0000 In-Reply-To: <20240522005913.3540131-1-edliaw@google.com> Precedence: bulk X-Mailing-List: linux-kselftest@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 References: <20240522005913.3540131-1-edliaw@google.com> X-Mailer: git-send-email 2.45.1.288.g0e0cd299f1-goog Message-ID: <20240522005913.3540131-35-edliaw@google.com> Subject: [PATCH v5 34/68] selftests/move_mount_set_group: Drop define _GNU_SOURCE From: Edward Liaw To: shuah@kernel.org, " =?utf-8?q?Micka=C3=ABl_Sala=C3=BCn?= " , " =?utf-8?q?G?= =?utf-8?q?=C3=BCnther_Noack?= " , Christian Brauner , Richard Cochran , Paul Walmsley , Palmer Dabbelt , Albert Ou , Alexei Starovoitov , Daniel Borkmann , "David S. Miller" , Jakub Kicinski , Jesper Dangaard Brouer , John Fastabend Cc: linux-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org, kernel-team@android.com, Edward Liaw , linux-security-module@vger.kernel.org, netdev@vger.kernel.org, linux-riscv@lists.infradead.org, bpf@vger.kernel.org, John Hubbard , Muhammad Usama Anjum _GNU_SOURCE is provided by lib.mk, so it should be dropped to prevent redefinition warnings. Reviewed-by: John Hubbard Reviewed-by: Muhammad Usama Anjum Signed-off-by: Edward Liaw --- .../selftests/move_mount_set_group/move_mount_set_group_test.c | 1 - 1 file changed, 1 deletion(-) diff --git a/tools/testing/selftests/move_mount_set_group/move_mount_set_group_test.c b/tools/testing/selftests/move_mount_set_group/move_mount_set_group_test.c index bcf51d785a37..bd975670f61d 100644 --- a/tools/testing/selftests/move_mount_set_group/move_mount_set_group_test.c +++ b/tools/testing/selftests/move_mount_set_group/move_mount_set_group_test.c @@ -1,5 +1,4 @@ // SPDX-License-Identifier: GPL-2.0 -#define _GNU_SOURCE #include #include #include