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: 13670017 Received: from mail-pg1-f201.google.com (mail-pg1-f201.google.com [209.85.215.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 F3B3815534A for ; Wed, 22 May 2024 01:01:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.215.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716339721; cv=none; b=qrCjsGrqQCtHmf+mvL2n/ffpQMnUfUl0AT7GJ9KiYMaXnEFmcJjit2CVznf6UzEK7euOtzhTMUf/imDi91lrVl0exrINSDhOry9aTUgwEbTXKa0aFl//bSecdJ+vQ65nlAYNIIYpLd2wjEoqwwHcsogoSpMBWrq2d2vYJp/pHEE= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716339721; c=relaxed/simple; bh=PVD0tBSM8eTq+XpI9YU4VnLpg0PN05oNGpDwrUAueuI=; h=Date:In-Reply-To:Mime-Version:References:Message-ID:Subject:From: To:Cc:Content-Type; b=onC5astbsMUGX/8cl8ohseAkAi2AM7qHWGY8OKLk0MMtY0VEA4WLj+IhafCHQ1TsC9Z54F9vRVwEsqNcb1yY8D1DNOXOadbcyLnYSy4AaXaKhWHPBoYA6+4wbcxBTLUS9r5nJ6KtB4KPD8iFnvwx3V/8K8+Z6fj1jA+rXQb3HrQ= 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.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="PrdTMX1o" Received: by mail-pg1-f201.google.com with SMTP id 41be03b00d2f7-61cb5628620so13301812a12.3 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=uAqN3Wejc+E4pb375ipyoV14Kyw8YaxMy5dIZ4WVpyY2Bfp7GtK+b/eKOxYXymrBnW ++0oAfP02r/ESGecm3Nwr/EZKxcif6JXlYwkjbvIsD77IiU1DXnHPqLzJ8hj3nAvq6Pd czxvl0gAJawP3BE8kQP5nhURKI9xG8nRl3tYTVk+pquU5zRXCCYQN/QYBvhHr5xVexav 8zulGQS2pYNsnorJWqJ83LFin5w14NBWIBCMHmF9Ri7vXlK0IZ2+Kj98m0kmpSbGsgkM uPQnlp41H1XZFoh3B8GrPVRPNDmznVtbioJR/kmWcC5SFWYx6bj8py99TokG9gGV2HxQ khaw== X-Forwarded-Encrypted: i=1; AJvYcCVRbCNR8zTvP56MIdajBp0s4GVLaaJ21KJ/Ql3H1jZmWAbE6mwoLK6G8WwXlNeWjuBQX8+sGCWESJmz1w8z0AIFEYSA/0CdLhonF0m9beG9rBx5UNw4 X-Gm-Message-State: AOJu0YyumrQe8/aaIhNcN5jWFBCepOSRrQNj5Dgh8bt9qiPz7MpNRDLJ fBhzOF6cUiCa6aY3y5uMhGJG37K+QbGQmwh57fXZgFXdfOYYm9enuOC9Q+a4Di3F3kxAimSwT0N f/A== 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: linux-security-module@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