From patchwork Wed May 22 00:57:23 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Edward Liaw X-Patchwork-Id: 13669941 X-Patchwork-Delegate: kuba@kernel.org 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 0EA51224E8 for ; Wed, 22 May 2024 01:01:21 +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=1716339682; cv=none; b=s3bEnss45eIK4DL5SHiYkqFOtgK6yYREApV/oa0278pHY30WZdD2wl4nFNz3EP5xLvwFmfpU8sMEUNeWW2bnLzV0IXG6idaZF5IWOBNO67dLwyC5QKPpRb1H+BHJdD78sG4kvm4ENm6y0y/VmjGhR9nnCvx5EqYpdVK8m6I5Cxk= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716339682; c=relaxed/simple; bh=rujMEFMUJCeXIRgObuSo2Y21kdZ6UmfBNUg6C13L0bU=; h=Date:In-Reply-To:Mime-Version:References:Message-ID:Subject:From: To:Cc:Content-Type; b=Qvoe5EbuQv1sfib0hXVr9sAUKPMqjnN1zQzM6zO6yXwwCyip8UCIxrAy/37TN+Cs6zqdcLMngkJginXLAvmMHNng3fQeKGEt7lX3B3L58g4lTEumuDqh2fJ1/33SYHJO8HnWzS0wIMAkk2FEZktZwB97aJJvDxukBa8nDt4ROkU= 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=CdguDwvj; 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="CdguDwvj" Received: by mail-pg1-f202.google.com with SMTP id 41be03b00d2f7-66957d4e293so3010626a12.2 for ; Tue, 21 May 2024 18:01:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1716339680; x=1716944480; 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=tXuQI7Rb82Ax963YHnFNfCPMg2TbL1f32XvNw+PdRZ4=; b=CdguDwvjabb1JP4snOxbboIlIH4CTcIy89b1j5nS8hOxKmQEV4lovuu8IX4/1ENirr e1KFTj9Epgi+HhlrEiKYHI7RVR+5qARtHarP5E5Y2DEO7ckzNRAJe0Fqp8VFznGFvHZ8 Hr5PlqDkNuLGLup0b6k+rkE/jfoLJI9Mp09mSeVKDWOAhCxjFZjBkkBo1WxVSJOXzd3y BJwJIe7ubsnM+sy0avaOH2UfpCfOQG2BfDVdgVw3Quq9j7iHeOl9ZvsdjBb90OU9ptPa n/eVYy1C3ifSJlN5sqbhaDTglWCcE1+UaJ40TKCFqHwYzjvKwdzbxdapq0VRyRLmO09j v1oQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1716339680; x=1716944480; 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=tXuQI7Rb82Ax963YHnFNfCPMg2TbL1f32XvNw+PdRZ4=; b=S7IRAbMDmhfKZfPyD4JfB6hSagmZfjg6qjtaq8/gYkuoLqxLTKNZ+2Zz36wdzVfquj bh2/AmhxOLVBmyqzSWukqsex/xkUAsq4Dn9v1Dp6XdNThV8+bLfDIXR1kSe7d0eA4cPQ 3gVN2rKY+4tndanpPI1bQarCjPzh0LNPS2XAH986C8cgSjxl5E9+GLEqpjpLnhUtBumI 4VpHb/BejtdoOTmHrN15q/z2vVaWeHWqItU+lpDut20n4B+GdvIQwpv5K/4ORyaFDoW1 ihPGX4S1WdEY3XMxiJI9P0/w8F+0Mf+aAKdMJrc3x+BJtwlXH5ApgU2ufYl4/u/3c3o2 ch0g== X-Forwarded-Encrypted: i=1; AJvYcCV7+DmJLYvri4GEw8VpB+nJ1fkr9vm/mOW70IDIPHSdJZ9LOqnR4xG4Zbt5YIWldGQq55ijROcFvRoXFi9m9UNdTOYs X-Gm-Message-State: AOJu0YwE8nUjsPX4UhNL5TbdGOimGyRDbArfzvoYnu7UIWxqXn4Jx3ye xteFDIkj7FJWIr/07q9e0ZSe/CZ8zo78zXtYHXzcx2dT3ZzdDcFCCIo9dT2OP5gPI/xeLp+x76L WmA== X-Google-Smtp-Source: AGHT+IHKUKwbsVzLr9jgAiynMnCcN8AgBIIJwckaDWDAaS/0uV+IF6Nd/yvWpAr4baMiUsoE3FbLBWiXKVA= X-Received: from edliaw.c.googlers.com ([fda3:e722:ac3:cc00:24:72f4:c0a8:305d]) (user=edliaw job=sendgmr) by 2002:a63:40c7:0:b0:66c:d006:9b62 with SMTP id 41be03b00d2f7-6764d4fcf73mr1205a12.9.1716339680511; Tue, 21 May 2024 18:01:20 -0700 (PDT) Date: Wed, 22 May 2024 00:57:23 +0000 In-Reply-To: <20240522005913.3540131-1-edliaw@google.com> Precedence: bulk X-Mailing-List: bpf@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-38-edliaw@google.com> Subject: [PATCH v5 37/68] selftests/net: 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 , Eric Dumazet , Paolo Abeni 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, John Hubbard , Muhammad Usama Anjum X-Patchwork-Delegate: kuba@kernel.org -D_GNU_SOURCE can be de-duplicated here, as it is added by lib.mk. Reviewed-by: John Hubbard Reviewed-by: Muhammad Usama Anjum Signed-off-by: Edward Liaw --- tools/testing/selftests/net/tcp_ao/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/testing/selftests/net/tcp_ao/Makefile b/tools/testing/selftests/net/tcp_ao/Makefile index 522d991e310e..c608b1ec02e6 100644 --- a/tools/testing/selftests/net/tcp_ao/Makefile +++ b/tools/testing/selftests/net/tcp_ao/Makefile @@ -26,7 +26,7 @@ LIB := $(LIBDIR)/libaotst.a LDLIBS += $(LIB) -pthread LIBDEPS := lib/aolib.h Makefile -CFLAGS := -Wall -O2 -g -D_GNU_SOURCE -fno-strict-aliasing +CFLAGS := -Wall -O2 -g -fno-strict-aliasing CFLAGS += $(KHDR_INCLUDES) CFLAGS += -iquote ./lib/ -I ../../../../include/