Message ID | 20240509200022.253089-53-edliaw@google.com |
---|---|
State | Superseded |
Headers | show
Received: from mail-pl1-f201.google.com (mail-pl1-f201.google.com [209.85.214.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 9B509143C4F for <linux-kselftest@vger.kernel.org>; Thu, 9 May 2024 20:03:21 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.214.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715285003; cv=none; b=l0v6N6BdvAM83ePOnWsPi5D/SC1yLw3fhxO3QxQsd9O68G+wznpcTmTMrXIT6XSv3iaxqoDpOVrQaU5GhJuqKp1HLLv1ss7TEtRlEvqSZjPSZGGhUzALdjGHsKC3chtrRH8lJKe2dsm5wAgA/A7g6bghifdH1ohjDN0exbGyhBs= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715285003; c=relaxed/simple; bh=O9xtfbgadu/p6ddd8avwApWGZ/0YxN3sdI3PLHa2U58=; h=Date:In-Reply-To:Mime-Version:References:Message-ID:Subject:From: To:Cc:Content-Type; b=mrUQDBdKC3Pk+JwcFB6oTyWM7WvEC2saEZ/BZfWNmfdRawqLvrtMkHj24C0u/8p1SePC4l4eEdQCM4Vo6Zuq+tT5zlUdZLLxEn1uu7zaGbmO8KL5Ylf7ql2pLOkGtvSCl+wVFtXn22U7b9BfljRs0gWTzL4kuVyorvsNrPIJ05E= 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=cr+VTQ1C; arc=none smtp.client-ip=209.85.214.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="cr+VTQ1C" Received: by mail-pl1-f201.google.com with SMTP id d9443c01a7336-1ec3c838579so11777055ad.1 for <linux-kselftest@vger.kernel.org>; Thu, 09 May 2024 13:03:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1715285001; x=1715889801; 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=gqJpZ06+qwlYgGDMURIHtEZ0g2cp0HVan8txW5tNeCQ=; b=cr+VTQ1C4c+am4VztIb4sZbqfCHwqOledJw5gl2v4yK/45ERyBih97ucrCCesxUUbq +MwjzvX/D6Pf5asw61U/7fRPoW5yhH+xzW4MkZ/RpaS/nCal3rSFvFNwbfgO9x/Oxwjf ldY8Dx6TVsU8fhNJlznOqeMq8tnwnTB0xs4EQSXVFTbwvnSUoRoh3QQZ+5Bw3alVn37j TtTvakU3ll1gcTrGPz7/g9FhtkjMKVdMov/SNIONoF4Lqmr5GUyP9RzvFxKIRQfKi79e TZ5TYDf5A1G6Madiup/GBxPef80rMZn9q8c4gMTvQ8TtxpqloYWv+gDC+t+26wheJiJc V6mg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1715285001; x=1715889801; 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=gqJpZ06+qwlYgGDMURIHtEZ0g2cp0HVan8txW5tNeCQ=; b=F82ErP4a3RVcZM3F028jE0oXzAi1i1WeyVyDk6huxYm+TfYbU1Pxx4vElH11SVPI9F /X28rhCw81GrdNhqwpEcMEOqUUtT/fcqYXtMZWCao/4/1YJAdMnPb5KNZillJhPxveFI Qxie0oCK5X22KAbvArgpH0TCTTzUz3b7XpQnqge1WdlN3i2GkF1GDBRwIoSgvAUZUUE0 eDKBrkKfmtxE7JwwKClWPr6DyaexVS9SHKJOm6AyY8V7SVeZejKfXsXl74rwl0LtNM4+ 5pVRIpB8WC7C4gYNDlmZpLzOfeec03/exmdKBLjNc3bXlIGAbWx/RSbn2JACS9ZqZmFH asZw== X-Forwarded-Encrypted: i=1; AJvYcCUs4hilpw6/CPMOOFkcqT6s3tnOZUhyLx6Kc4cCiOm5RQ+oqbnMwnE09UN+AyNYylgu3I74wDDSZsLSWpHKx1D6oe1n0iai1Om6faUonR9i X-Gm-Message-State: AOJu0YwSFqPa4eK9/hL/qEkfh/4pnOGzJEOsEAhqfuJiOIuXO2e9CQh3 8Y1K+Yk27IDx+F+QgOIPwjMBGDdZvxUp9wXLWFQCBin5j8/UeYJy+9BSgA+TYGwtlvAyOm6B8VC zrw== X-Google-Smtp-Source: AGHT+IFbSWrUqUEAgrLY6JePy3EwV7Ny9LND4RDwM9prINLxhsyL4egFps4aRssQj4tvxTm8hIFc1i+KYtc= X-Received: from edliaw.c.googlers.com ([fda3:e722:ac3:cc00:24:72f4:c0a8:305d]) (user=edliaw job=sendgmr) by 2002:a17:902:fb05:b0:1eb:50eb:81bc with SMTP id d9443c01a7336-1ef43f53d7bmr119225ad.13.1715285001029; Thu, 09 May 2024 13:03:21 -0700 (PDT) Date: Thu, 9 May 2024 19:58:44 +0000 In-Reply-To: <20240509200022.253089-1-edliaw@google.com> Precedence: bulk X-Mailing-List: linux-kselftest@vger.kernel.org List-Id: <linux-kselftest.vger.kernel.org> List-Subscribe: <mailto:linux-kselftest+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:linux-kselftest+unsubscribe@vger.kernel.org> Mime-Version: 1.0 References: <20240509200022.253089-1-edliaw@google.com> X-Mailer: git-send-email 2.45.0.118.g7fe29c98d7-goog Message-ID: <20240509200022.253089-53-edliaw@google.com> Subject: [PATCH v3 52/68] selftests/riscv: Drop duplicate -D_GNU_SOURCE From: Edward Liaw <edliaw@google.com> To: shuah@kernel.org, " =?utf-8?q?Micka=C3=ABl_Sala=C3=BCn?= " <mic@digikod.net>, " =?utf-8?q?G?= =?utf-8?q?=C3=BCnther_Noack?= " <gnoack@google.com>, Christian Brauner <brauner@kernel.org>, Richard Cochran <richardcochran@gmail.com>, Paul Walmsley <paul.walmsley@sifive.com>, Palmer Dabbelt <palmer@dabbelt.com>, Albert Ou <aou@eecs.berkeley.edu>, Alexei Starovoitov <ast@kernel.org>, Daniel Borkmann <daniel@iogearbox.net>, "David S. Miller" <davem@davemloft.net>, Jakub Kicinski <kuba@kernel.org>, Jesper Dangaard Brouer <hawk@kernel.org>, John Fastabend <john.fastabend@gmail.com> Cc: linux-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org, kernel-team@android.com, Edward Liaw <edliaw@google.com>, linux-security-module@vger.kernel.org, netdev@vger.kernel.org, linux-riscv@lists.infradead.org, bpf@vger.kernel.org Content-Type: text/plain; charset="UTF-8" |
Series |
Define _GNU_SOURCE for sources using
|
expand
|
diff --git a/tools/testing/selftests/riscv/mm/Makefile b/tools/testing/selftests/riscv/mm/Makefile index c333263f2b27..4664ed79e20b 100644 --- a/tools/testing/selftests/riscv/mm/Makefile +++ b/tools/testing/selftests/riscv/mm/Makefile @@ -3,7 +3,7 @@ # Originally tools/testing/arm64/abi/Makefile # Additional include paths needed by kselftest.h and local headers -CFLAGS += -D_GNU_SOURCE -std=gnu99 -I. +CFLAGS += -std=gnu99 -I. TEST_GEN_FILES := mmap_default mmap_bottomup
-D_GNU_SOURCE can be de-duplicated here, as it is added by lib.mk. Signed-off-by: Edward Liaw <edliaw@google.com> --- tools/testing/selftests/riscv/mm/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)