From patchwork Wed May 22 00:57:36 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Edward Liaw X-Patchwork-Id: 13669959 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 02C9E1553A1 for ; Wed, 22 May 2024 01:02:00 +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=1716339722; cv=none; b=Yi0XLeM+sb6hpccRKRmNW6/DnOErnzNy28pWSHIv7h/KoCWbDgTemgTGvU6dlB8Uljs26WeNuv95BJg5IMPtHJXoTXzOheqv9OwBFPSgnUzEhFbpKyj/HTnIeYDRoWJPCPbVTd0RxyF5rig/5iKMZvW4auOXEUTOB318zuC0yeY= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716339722; c=relaxed/simple; bh=PVD0tBSM8eTq+XpI9YU4VnLpg0PN05oNGpDwrUAueuI=; h=Date:In-Reply-To:Mime-Version:References:Message-ID:Subject:From: To:Cc:Content-Type; b=WFGGiaEU+NEfWTU08ZOW1sPuODqBXprbkf3b/MQ/SmCWRKZ4llzDYKNeqlYpgKk6yJ0EGRzCeF7F0NQdLbldmPpQdAgq1IrrYATekHst0IkD3/1DoKg+f2jSEnwDqJx1bvt5/IovOWhPAQSjYDTweSEyT2dYkioedSg0Y2iG4UU= 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=PrdTMX1o; 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="PrdTMX1o" Received: by mail-pg1-f202.google.com with SMTP id 41be03b00d2f7-66348aafadcso4133334a12.1 for ; Tue, 21 May 2024 18:01:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1716339719; x=1716944519; 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=hV5vKaIDliigP0PvfdQCKt36xDKqbqkdCLWM1sPsWPk=; b=PrdTMX1oXcTlAbDriYl7lDL2/S7aaUXpsAE7vtEcFzNkzn/MjkVWk/g/1iiMJ1d40g pOsR4ApQ90rPEehpr7VXgFDcr0Lo/cXVPFdBTTW7AsBRp04Z3dG3dbmJEob0rONwPa7O fyzXVAFU+18XI917IFYqB5wvbFj30gk5QQaf+kG9L+y2ufy7jLjyA9itkvzqZjt8Rp60 Mh4vbwRvZ4Wk+z90ITWtHyI2DU2p2ljx4ymcJ/RDBFqxXUUIZpysZ9ga4MdsRBQ1DVLJ JH5v9VQpA/nYGMK2njZxHck/s5t74mzOoZWd71f3U4H0FIttHVm1hC6EmsUsTVm8vYr1 Zz7w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1716339719; x=1716944519; 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=hV5vKaIDliigP0PvfdQCKt36xDKqbqkdCLWM1sPsWPk=; b=hREbu1sxtpnZVlb4zCSpi6v2WuE1w52tC1X519KspykLyKc61BloWybW6cedPRAYMZ lqmdQuLsKrZE8CtUbbBRtlYlSjEUKibyjolT8zrsTG9lO1jH72s1Ij1dy9/fAeWdc7ae V+mbcMBLc+8VziXCqbDZ7oyTXNNfhjIbdkbsIXMSSb6C0u+Fz8qcGP1bAIXykmX2m0+L ViYuqXl70Nudoy2GHpGA35ayNtQjzzzZAILCXUugQDGq4SgysKY1oZ6JXikT782xKJiv 4saNHF+jFMPg89VZa+X243werSt2nen9hoxRvTLmqCLBnsq/L3qMZoo893eRR6JiyCVY YAKQ== X-Forwarded-Encrypted: i=1; AJvYcCUWrpH9+cpHlYjYwYODBEebt4+efK+tig0PdPWzPpIyozdKXwXaKJ1lMBRuQa4sWb3O/3m2skLiWiozHAEwzvUCupQ0qfNS X-Gm-Message-State: AOJu0Ywv4l5irK+/92ZaeOZfkk9VvTwq/ckxd+YMeRQMdYYAAJokfNAt QcpWLB1SOfHe4nanZItWZsyPrLTWjvip4wrURwRhvR9FD01UVJbrTPWmLTRcjc/JAxuQo5H9Gpe KLg== X-Google-Smtp-Source: AGHT+IHJf7XnW8l3uCaIbtKOYrd79j1um0RYB3UjOWToEbOM9Pm94KWZLjHWmnPYbuyo6Pe/x0NBJ7rbzlA= X-Received: from edliaw.c.googlers.com ([fda3:e722:ac3:cc00:24:72f4:c0a8:305d]) (user=edliaw job=sendgmr) by 2002:a05:6a02:90e:b0:650:17f0:94e3 with SMTP id 41be03b00d2f7-676492dc647mr1174a12.5.1716339719405; Tue, 21 May 2024 18:01:59 -0700 (PDT) Date: Wed, 22 May 2024 00:57:36 +0000 In-Reply-To: <20240522005913.3540131-1-edliaw@google.com> Precedence: bulk X-Mailing-List: netdev@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-51-edliaw@google.com> Subject: [PATCH v5 50/68] selftests/riscv: 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 -D_GNU_SOURCE can be de-duplicated here, as it is added by lib.mk. Signed-off-by: Edward Liaw --- tools/testing/selftests/riscv/mm/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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