Message ID | 20240510000842.410729-51-edliaw@google.com |
---|---|
State | Superseded |
Headers | show
Received: from mail-pg1-f202.google.com (mail-pg1-f202.google.com [209.85.215.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 40DB413CAB3 for <linux-kselftest@vger.kernel.org>; Fri, 10 May 2024 00:11:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.215.202 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715299892; cv=none; b=IvBOpl+uynw2NnzR8EpuKD9FwT1gyhLHPV1TQXzBdxYQpyaiY3iruK6eRY8aH/Ha1SZi8S+UREmiWvRhwMK/HR/n2hQbJRoRSXWg1/+8BqWqtBhXsyoX6+oC7mbps++77MRucG1TX4s2AZUw7lSAgoVE8RFknhW6PDSflbDpWdE= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715299892; c=relaxed/simple; bh=O9xtfbgadu/p6ddd8avwApWGZ/0YxN3sdI3PLHa2U58=; h=Date:In-Reply-To:Mime-Version:References:Message-ID:Subject:From: To:Cc:Content-Type; b=p6KCXS7XsVr+k/wrA/yEmfvaxJehtibZhjwFHNrESz7InDBtTF7F9i39fh037fajQZa8dCbdjYgfTsVqbiKXnmSuwPXaMhvdzP3kr2JAilY/AKh6vDIv6OBIt/jucTNPN0fepiy13BndRJ+GxKT1VogKwlIPcQMHy4Gs+6B1sis= 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=SFWpUj6W; arc=none smtp.client-ip=209.85.215.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="SFWpUj6W" Received: by mail-pg1-f202.google.com with SMTP id 41be03b00d2f7-61a9f6c869dso1246544a12.3 for <linux-kselftest@vger.kernel.org>; Thu, 09 May 2024 17:11:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1715299891; x=1715904691; 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=SFWpUj6WWfbw3A8k4RFiIDVrNWTpBR2S2RTocthdnIen6kdt8R6p1w0GMqioyiOb4e eb0UibyhDQK9N52ncUqXHD9jeV0hvOar+jEvk8IoWHlw2tWAbN3qnT4+4FQGHfRcAC6T g5IwiQ9wulAz4gLRnTpkIZZj42XoNU1Ec5z1BYXOCfHeEsQq5FtJaRzXFdx9q/5Ocn/y ZcMDupm0AXqb2P1oYGV7xNdBAtk8CDO/fM+1w96ZN+LRliq4eVL5MAG+uGOEYsrtfEay XNqwr7DFfwUV2taPycuctirdq83ywE4EgfVodHP30l3j8EuORB/R9GGhVLxrL/T6y7MU PcFg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1715299891; x=1715904691; 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=rf/WDAOFVL2jkOpbeRmxIxFjZ2B93QSpe1koPVLFl341TyM5kXqORECmiD0UJDJ0tj 5oOdpUMpP57a8vhylLTrHz6bT6lGI0Sg1oXmxWck7tF8WZdOCA2yZ4MusB0fC9kJp8Hb g1f2S5TOviQGXqds6bOfe6psRRbuvCqRBhjy8tirRzuJNfAzI40mypHN3bTrYkYR8jKN sGTe+83wolrr8clsBYTxY2oZAe773H9jHf+iHogCOmwB99JUVZAGDovHeZa8ds0MdkKn rbAxc7gQuPRDmLjZVniJpavV5HjS2NE/gMkQ9kLFuaw7naG2Y0hth5WKyHn1cQmnScwS l1Og== X-Forwarded-Encrypted: i=1; AJvYcCX8DKnynln8s6pl/7laUu9SSPYZUwziaYDEYqnJledYqyg88s0IbV509u2Nh9k0Q9D5vkJzZiZm/MT4kCTSTghaSfwIxRoupqAYT3fFpVZG X-Gm-Message-State: AOJu0Yz9OD/zZTk4L4MRUJty0opfR580PWtGb5kd4GNTrh/KSwcJLR8n 3OZLF7SXE+DCjldPQZ5MvhHeNPQ5oQMxV1nL7F5v4CHepU/Q1mhlu3bnKz+9btoTlqmCwUxImoO dnw== X-Google-Smtp-Source: AGHT+IFvnYt0ucR3iNwRUDByJjohutRzVbgCY1noF4/O8GrePk6IXOBinafk3bQLpiFMVdhzNUfEhUzwTzU= X-Received: from edliaw.c.googlers.com ([fda3:e722:ac3:cc00:24:72f4:c0a8:305d]) (user=edliaw job=sendgmr) by 2002:a63:ac02:0:b0:61a:9ce7:90ea with SMTP id 41be03b00d2f7-6373f599e9bmr2257a12.5.1715299890660; Thu, 09 May 2024 17:11:30 -0700 (PDT) Date: Fri, 10 May 2024 00:07:07 +0000 In-Reply-To: <20240510000842.410729-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: <20240510000842.410729-1-edliaw@google.com> X-Mailer: git-send-email 2.45.0.118.g7fe29c98d7-goog Message-ID: <20240510000842.410729-51-edliaw@google.com> Subject: [PATCH v4 50/66] 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(-)