From patchwork Fri May 10 00:06:49 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Edward Liaw X-Patchwork-Id: 13660744 Received: from mail-yw1-f202.google.com (mail-yw1-f202.google.com [209.85.128.202]) (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 A999F134423 for ; Fri, 10 May 2024 00:10:35 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.202 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715299837; cv=none; b=VgRZbiYiyeHFF2PP88hAQb1eH1GeZ2M++Ce8RQNwCAO2VT0JXgkh19HGfVA+2deLgNQ0jBhEBmIVnVHKf6K0ATezNhm2zMoW3IFWBt9CCvtjFWHvUfPC3bAbOyqQ1SOCfcMWFncivD7sgfqvvVpBEWgB9egwRQisZf44G1q5uKQ= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715299837; c=relaxed/simple; bh=eDWuE+8ZHJTvhDSqm0UqgHUs2LzpKlCgtgR/lrBU6/k=; h=Date:In-Reply-To:Mime-Version:References:Message-ID:Subject:From: To:Cc:Content-Type; b=bMCv0JlrIwM7SghfNpaWGkOn0KEhH+X4RFgUiUM5ea9WPxU2sYmztYMeOswrVBG74weplbQ8uVAALNsVevKItoUoj3IT4hmMBlEgAz+NtIOwEtk5wpjgUAOD0dOQJUjua2SV+5TYo+sCq0aGEJQDo8FsMPruKbWRw9KeFRyebJI= 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=bSQv2WLS; arc=none smtp.client-ip=209.85.128.202 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="bSQv2WLS" Received: by mail-yw1-f202.google.com with SMTP id 00721157ae682-61be325413eso18611527b3.1 for ; Thu, 09 May 2024 17:10:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1715299835; x=1715904635; 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=F6IDZpyB3UrvfTL2t0wE57nV4aaGR/g2u1ts2clTgN8=; b=bSQv2WLSopB2v+1KZm8IwOgLuHIEUVK+qZzBvEZW8TVdwSts91OolEh9nhb8DK0rJF yDDicW3806mNqg0SL+NQzL6WtN/R0zairyXk6vUBi1q5bF2ZisVhXu78Xx+ImgAIL0nr Ua7VbCTtenVKTD7atgq0SmFMZIK3eBOwuWRBKGEZfx4lt6vMIpIduZm9oJgNcg4D3LOT k7HonRz8SOGYaRAcj9BxgyV5m7UkZNo2pwjhv3I4C9FXPa6ci2GNthcoRHYb1jEceykc 7VqY8+7PDjtl7GufBSi1bcWd8onQ7OANUnb8qH2ctcOms/mb202ckQh901gzOOMMjmhn PDTw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1715299835; x=1715904635; 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=F6IDZpyB3UrvfTL2t0wE57nV4aaGR/g2u1ts2clTgN8=; b=oNSKpeTEX6LaTWZOJzQ2UEEAp1XZytDXqRLDLbXAPHPT+RdjTlqZOU7byXni5tQMfz q3//vgqBKNgupW4N/+g9WH/tUBNBO/aR6RX7mjar2e0EavtOj4MUq1AentQqJiyw6/bS pm64iO1Ai78a2yFerUJAMuqJqH+e8oi3WlOu1EEnuZri/dIPGQ++DYRsk0CIfQdYT+4h 57gMjXxx3rPGKDctQ9emcEj87jexhs/vJKz7trT6JMUUGiKV92Sr9OrCdAtDcgyMrJ52 Y8C4NmPLmriux5OTMvjDMsD3+fZkX+J1BWxvxXO9Z9KDEfUqx54uuFJTK/lo7zQyM08o tmMA== X-Forwarded-Encrypted: i=1; AJvYcCV3f1nJNSHkNqnZ0TCLqGPms2MHdnItgW2s/bX0CpRlDAHbmhDOts9dDb1cX4r6j+eaCptLTeVA8nlxWMvhsSe7m8F1CGz4ET7Hx1vQpw== X-Gm-Message-State: AOJu0YzzNP0RQqJMLw8zdXOFocmyzquNA6Nf7AEuZdwx0k0ho2gTKgfy q7Gb3NAXCay8dTWOfgw3X3cka8MvVpal0Ip2Ctvv95/Rx6jrP3TRsQksME1QfVUouaJyxBcdUUb HwA== X-Google-Smtp-Source: AGHT+IFp9arQQjLfM7uxnfZTL7Hk72AcVMd0VRlUcaVAMmNJqDm8Jb/qv8j63n8u+Ogp+M7sZzeDo1rc4Lg= X-Received: from edliaw.c.googlers.com ([fda3:e722:ac3:cc00:24:72f4:c0a8:305d]) (user=edliaw job=sendgmr) by 2002:a81:5b09:0:b0:618:9348:6b92 with SMTP id 00721157ae682-620992cbc48mr10042437b3.1.1715299834767; Thu, 09 May 2024 17:10:34 -0700 (PDT) Date: Fri, 10 May 2024 00:06:49 +0000 In-Reply-To: <20240510000842.410729-1-edliaw@google.com> Precedence: bulk X-Mailing-List: linux-fsdevel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 References: <20240510000842.410729-1-edliaw@google.com> X-Mailer: git-send-email 2.45.0.118.g7fe29c98d7-goog Message-ID: <20240510000842.410729-33-edliaw@google.com> Subject: [PATCH v4 32/66] selftests/mount_setattr: 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 , Seth Forshee 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 , linux-fsdevel@vger.kernel.org _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 --- tools/testing/selftests/mount_setattr/mount_setattr_test.c | 1 - 1 file changed, 1 deletion(-) diff --git a/tools/testing/selftests/mount_setattr/mount_setattr_test.c b/tools/testing/selftests/mount_setattr/mount_setattr_test.c index c6a8c732b802..d894417134b6 100644 --- a/tools/testing/selftests/mount_setattr/mount_setattr_test.c +++ b/tools/testing/selftests/mount_setattr/mount_setattr_test.c @@ -1,5 +1,4 @@ // SPDX-License-Identifier: GPL-2.0 -#define _GNU_SOURCE #include #include #include From patchwork Fri May 10 00:07:02 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Edward Liaw X-Patchwork-Id: 13660745 Received: from mail-yb1-f202.google.com (mail-yb1-f202.google.com [209.85.219.202]) (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 0E33213B293 for ; Fri, 10 May 2024 00:11:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.219.202 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715299881; cv=none; b=Pm5TYNhBrBLcl/H21wg4xJiQEy0M1ZcdlhxZR60CoYqvUZXPUjtQgdBkRBgfsPPrtghrxsSH4luSMRbQn0H7oGfQNNP/S6YURLXLBZGUPr2gTfUMLFQpWRUsMUL+TMaxoPEU68hw6k5B9fvIcIHX13O4EaQe6YEvY3MfHma9ENw= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715299881; c=relaxed/simple; bh=9SdZLXa8bOO8qqRm4M0qIy9O0gsnXY10oXqx9sqJBYg=; h=Date:In-Reply-To:Mime-Version:References:Message-ID:Subject:From: To:Cc:Content-Type; b=ZzO1/OCSXhm406eB7ABYCQJ00MSLMNm8F7vkaXEwQCdS5RWPjDxTDOoOxotW/32BLEQdUUq8ioK5UkTLnC1N5pH8PYbwwIu3gvFvha/MQ2w+HYfk+Ll8OaAyo4Hga/uWGwgWXIZBrgrBsFzle60jqplcJgicjAyxdIHiuXSPOa8= 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=PCJYiUWS; arc=none smtp.client-ip=209.85.219.202 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="PCJYiUWS" Received: by mail-yb1-f202.google.com with SMTP id 3f1490d57ef6-dc6b26783b4so2009011276.0 for ; Thu, 09 May 2024 17:11:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1715299879; x=1715904679; 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=ZsiI/uc5MiF5hVrzWysDwKaH6OKN5b01GtVR6T+4Ou8=; b=PCJYiUWSDKcZ7b5ZTRYxoRuPu/wGXUWBBoDIoAQEhfLfpWGNfAL5JmkKv+ETj7xx7F eLkIMY/AKbqCiSngQU8h4CHQZFFaJx9dcTVvoMN6zWTmX6VjHYsTHGpG3hIgVgJv2Y3H Z815kk50HeJORYz0zX64evgkNwNF8iMunDDC+H5zdlONOj3vnKVEL+nkj5BCIsTtnEZU W5DRXsgZAiIP6iXmYV4z9dcwRHvlnvnXHq570loyl2/ydNnX4w5UpyrnHhKGbVl1PwLP vacZMjN+tRWZ6ddnm/hO92Yn5oja6EixJtkE4xbFL0G9xn3RNqgMYrbUo1KI7g4kTZPf UpYQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1715299879; x=1715904679; 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=ZsiI/uc5MiF5hVrzWysDwKaH6OKN5b01GtVR6T+4Ou8=; b=lgquDshcmpAkSoWmg0C2wmL7JAuIuFOFVTwGFsQkV9mpiWCHowBBWNdgVeNBvtWEYS jmYZp1zqggnQJlGjrAfVtiMWit8ppzoWYKvsEZ7kKfnnRa8+21SJCXrXhjc0n1gdcCyu 2I+enm/6Isxh6Ruelu7e2g+EB1uKkV2m3UANTKE0NJftfpeSg/xxqrG3ESEmHHE3d8Sr pBePQHcwu6Fo10WJxka1wUgPtaMghi6sOkHsEd7vhwU7HgwdulKPw2W7z5+tE5BhH0jl OitrE9oPTjiVwnZ+hyOqeRjM9ceZ525FUiGoeDT7p7/+f2MVkQ3NJFTfpU7U5l1bugA+ w31Q== X-Forwarded-Encrypted: i=1; AJvYcCV+0Bl1i4ZV1XcVSdRaiL2uwo5vE40RzDX9HjHrxnI8BoHwR01lUDxfCENti7pWUkuz4nKIX+Kms/7OB0pBIsd8QXC0HQ3aHJ56vAh/Ng== X-Gm-Message-State: AOJu0Yy8/0ez76SjF/cQYimR4ESOYyODHPLg/ZnnASTEwrc1/9xfj0eC Bv8wu4qthOqLLBi7R4hjEFWNsBzmQ2gM8TJu+x95oYqvlBdNdBfbWNkx6ArHBMm9vx9quUvK5Iq mmA== X-Google-Smtp-Source: AGHT+IE5lK4O5tKmIABh+/0fZfzUGpesvK3r0yQsigzHVYkbLRrBgnWaOZUctD25gmyF5UaK8CUOK4LhdqQ= X-Received: from edliaw.c.googlers.com ([fda3:e722:ac3:cc00:24:72f4:c0a8:305d]) (user=edliaw job=sendgmr) by 2002:a25:a1e3:0:b0:dda:d7cf:5c2c with SMTP id 3f1490d57ef6-dee4f365eb8mr105581276.13.1715299878998; Thu, 09 May 2024 17:11:18 -0700 (PDT) Date: Fri, 10 May 2024 00:07:02 +0000 In-Reply-To: <20240510000842.410729-1-edliaw@google.com> Precedence: bulk X-Mailing-List: linux-fsdevel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 References: <20240510000842.410729-1-edliaw@google.com> X-Mailer: git-send-email 2.45.0.118.g7fe29c98d7-goog Message-ID: <20240510000842.410729-46-edliaw@google.com> Subject: [PATCH v4 45/66] selftests/proc: 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, linux-fsdevel@vger.kernel.org _GNU_SOURCE is provided by lib.mk, so it should be dropped to prevent redefinition warnings. Signed-off-by: Edward Liaw --- tools/testing/selftests/proc/proc-empty-vm.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/tools/testing/selftests/proc/proc-empty-vm.c b/tools/testing/selftests/proc/proc-empty-vm.c index 56198d4ca2bf..f92a8dce58cf 100644 --- a/tools/testing/selftests/proc/proc-empty-vm.c +++ b/tools/testing/selftests/proc/proc-empty-vm.c @@ -23,9 +23,6 @@ * /proc/${pid}/smaps * /proc/${pid}/smaps_rollup */ -#undef _GNU_SOURCE -#define _GNU_SOURCE - #undef NDEBUG #include #include From patchwork Fri May 10 00:07:03 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Edward Liaw X-Patchwork-Id: 13660746 Received: from mail-yw1-f201.google.com (mail-yw1-f201.google.com [209.85.128.201]) (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 39E8513B590 for ; Fri, 10 May 2024 00:11:22 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715299884; cv=none; b=cps0TaCec629GvoiIqE5EKixPvkBixkkaRG9eLB6QBwnFMjXMVZBBfzW8VhyBNqTbEJgYIBQxZTFJBYh3l5SKBu29v0Z/MZEIqoaNIlQdC2VPxzsI38JwHwS9NB5S6vWx88WHd51GkvCxmb3eJ8srqmnDreataOAkK2H6uAwkuI= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715299884; c=relaxed/simple; bh=IyUlAGHuB4F0ACGEqw9XDD1VWDnG6Gr5lWYbpcHYvy0=; h=Date:In-Reply-To:Mime-Version:References:Message-ID:Subject:From: To:Cc:Content-Type; b=aM05YuGuzQ9ISIST1heNmaBYcfLcTj2N5yGr4p8txN/GpIFdHXTf0ZM+xhDwymYZ4W7m9Ae6eOZ+9ZRQmndfYmp2ENZuXYtIk4C4RPUz+2UNl1HVzn+Mdr4Y3i7hWpXNZyClXfJvQFaQUNc7ukbO9VwpzQlO2Q8lyvFMd4JPhaM= 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=N3UAtSei; arc=none smtp.client-ip=209.85.128.201 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="N3UAtSei" Received: by mail-yw1-f201.google.com with SMTP id 00721157ae682-61e0c1f7169so31443437b3.0 for ; Thu, 09 May 2024 17:11:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1715299881; x=1715904681; 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=7Be7dPPNzCq96H6P3h1xjg92hf8ZyE2EcN1YZKe/vuY=; b=N3UAtSeiPrlt9OW2F0rY6m+iv9lq7dDYhKPowMfiXC0i4M50l9Dq0C9BY4cBKpwwg7 4g6Mso3wfhFFxAlqDrz2MZQMJX/BVKKsTSO0W12iZ0mWIZagIVaL1MDW33UdTQmbTbE+ lwyQuyKgkExHf0eOHbu/v+DVpB7mWUq0XdsaAJICDUe9zrvd7cg7OddH7V1tZtlvSHwD HKgaAxuHATqOmhoKn76xQshp45Ob9vFkc06thVQ8OpsulnW+BalfUaJQ8pXpEpDV7geb suWaXWhKX4tDdAjpjzOtOqlzSVoqjniLl6CS3BH4zRnuPDy/NZmeoCatx+ZfUc/pCvLo spTA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1715299881; x=1715904681; 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=7Be7dPPNzCq96H6P3h1xjg92hf8ZyE2EcN1YZKe/vuY=; b=lBwhRA+7g3b9SOlOl9ZxARY8DqXIIR+K8yu6sIhIVcQ5IFcOiGpmO0PD5TVHgYIrXd h+79MCQbVCeZ0uk7hUi8RRbTMCWGLtcY32O/G8FyKQOAc3SU+iBWlIol86JKxxd1U4D0 /lwLlNQYsN65R3P+vETYEeYidaHKW8sbjuDRZq25yxJHKIIplYgvzg7p/oT8KXwMYP4H S9gevo3uJu7QabjG7b0V9/Cqe9AF4S4BfQP2fkBeQxh0f5pyN/LwfVKV04b92dWiEZPb 1lMULBh8s4vWaHmvIVooZefAM5yATfVLIljyrGkbRphHHONBg6w3154X8SuMXGRloTQf czKw== X-Forwarded-Encrypted: i=1; AJvYcCUC9PjwVHhbaESmxxP6eWNtgRND9MdNf7p4T2rrO4YbWqvA2wxi1BxETwSjnSzQ/IUisXIww7B62870z0v5VUmQNOfy5RNVg0ElLO6GtQ== X-Gm-Message-State: AOJu0YznVDhGOu4zl42/OiJRZxCxjUKMaknx6J8f5tBBlJmfu3Lm2oct Ha0vWhl4EhN5IIzIo8OrliEMaxnGHqInb3HoklyNwP3220f6kZ0LNKPPudFtmCyKSx4ghwuLRAo Y+w== X-Google-Smtp-Source: AGHT+IE/x9wCS8dXfiCveNKLMUww3zuulXyRB+TBegOeq8yRgm7kXDMXOCAjHlMh4xirNEVxhfl/HnwXW8Y= X-Received: from edliaw.c.googlers.com ([fda3:e722:ac3:cc00:24:72f4:c0a8:305d]) (user=edliaw job=sendgmr) by 2002:a05:6902:1004:b0:dbe:d0a9:2be3 with SMTP id 3f1490d57ef6-dee4e558e2dmr363352276.3.1715299881350; Thu, 09 May 2024 17:11:21 -0700 (PDT) Date: Fri, 10 May 2024 00:07:03 +0000 In-Reply-To: <20240510000842.410729-1-edliaw@google.com> Precedence: bulk X-Mailing-List: linux-fsdevel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 References: <20240510000842.410729-1-edliaw@google.com> X-Mailer: git-send-email 2.45.0.118.g7fe29c98d7-goog Message-ID: <20240510000842.410729-47-edliaw@google.com> Subject: [PATCH v4 46/66] selftests/proc: Drop duplicate -D_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, linux-fsdevel@vger.kernel.org -D_GNU_SOURCE can be de-duplicated here, as it is added by lib.mk. Signed-off-by: Edward Liaw --- tools/testing/selftests/proc/Makefile | 1 - 1 file changed, 1 deletion(-) diff --git a/tools/testing/selftests/proc/Makefile b/tools/testing/selftests/proc/Makefile index cd95369254c0..25c34cc9238e 100644 --- a/tools/testing/selftests/proc/Makefile +++ b/tools/testing/selftests/proc/Makefile @@ -1,6 +1,5 @@ # SPDX-License-Identifier: GPL-2.0-only CFLAGS += -Wall -O2 -Wno-unused-function -CFLAGS += -D_GNU_SOURCE LDFLAGS += -pthread TEST_GEN_PROGS :=