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: 13670088 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 1D9E91553A7 for ; Wed, 22 May 2024 01:02:00 +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-5d8dd488e09so14077566a12.2 for ; Tue, 21 May 2024 18:02:00 -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=FysXhg53F2/BiliOH7Our2r+uxp50gOYkH9wB0BtW4Fi0ka/v9waHR/FVmyZwnVO2q zfcKNnwrok9+uWgox0307lfoQ/RILH8/Lm7jeMaAGRhYmIipfhoZdcrgzQ2QmwnAgtNy pY/l6L/SvISmoZ1LwWuosZx2fNSqYTW7o+edD6FSeHnaeVotV+/xeuKe9j45U+IruZea f7RFZiTsOSklDKpPymeMSoqkrSKCjQtsOXl1zbFctZD7cOFbtyNoPONUn0+lJfdA2iYm YjvvEw/0cGGblux1mrhw1D0P891eXdE/9SIXmffPBJAllwwqLp7HkF1rrX2OXhtE6wvt ucnA== X-Forwarded-Encrypted: i=1; AJvYcCWwASdIR5wO6tHPv+9BuXlOc8F2l/BKFo060psuiVMMYIFZEjH6cCwd17L1ltmT2gmPsAZqdHbYoNIIcEEMimRgqOW4hEaz17OweV0LVn6g X-Gm-Message-State: AOJu0Yzt7DVGw1IUMaepdoF1GZgjJJDFxV6NOfKnML0WMpR4vPcDyla1 IR2iDb/cDzuCd3bT0YTzE/HkhpyRpUVKy58ZmSPhezip1yRhS/JkUomv/Ayal1AGqM4+8NzJuaP yfA== 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-kselftest@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