From patchwork Fri May 10 00:06:40 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Edward Liaw X-Patchwork-Id: 13660566 Received: from mail-pf1-f201.google.com (mail-pf1-f201.google.com [209.85.210.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 C4CED12E1D7 for ; Fri, 10 May 2024 00:10:08 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715299811; cv=none; b=ROvVOf3LxH+vx4K5/IL5vqkTCOQhsJ+zMIaa7sTE7mkb3s0b3RS+n4ZbDU+pvBi+qnYF9aYzA/TGLnFmaUt5pRy3GdeFK/sx3VoNqmv6iczw1YH8eEFi+wOSxG4wHjZp0IIBUhgHqpvjjUfNofRMiJigXwcCAH+GUA0k3UMPu9I= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715299811; c=relaxed/simple; bh=+d8CQHMwdr5m1UXfqt84Rk+9oU3MD5AKwJEZCVMgKFM=; h=Date:In-Reply-To:Mime-Version:References:Message-ID:Subject:From: To:Cc:Content-Type; b=jIS+Wbl3dgNAsdqWMHKMUuayU1aG+i0SLXHskMRIvjyR85ngpRo0ynC36QraGF8KZaGWmubJGH3PMKaNQf4RZWNduJhPPQq5qKsLzFCry4QTh4valrdIxkfhZRfxvEb0t4PlUnvtY6ATFLPez2tUrFCLyAH4mGBgvFAKB2zTlUY= 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=iB1PM/pV; arc=none smtp.client-ip=209.85.210.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="iB1PM/pV" Received: by mail-pf1-f201.google.com with SMTP id d2e1a72fcca58-6ee089eedb7so1505055b3a.1 for ; Thu, 09 May 2024 17:10:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1715299808; x=1715904608; 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=gdE+UHGZ+SYdvl2kt1cRiCVPiIb/90RAcCx31Rbgw4E=; b=iB1PM/pVwfoxA7BRjZeIFSZ++NLVzt/YP1TnyJOSY7BfOWMs+SJMI4oV3Gkj3u2UCK c47VU3NfR4vXvBmusv8lLnfJ0GoWEgDkuEkPtNAavo8B+xiJJ/S+l2+vCJdmv9vCvrXr ca7hPOQuKbHp8Bpkwe6svNSwI5K4WEanTKC5eesSjrlChifltDzPUgHB5BEC6Yy0wako 4ccCt0Uhkw1w8uL/ZaHUy5iiu3ZDy06rhBhcutIrx1/i05Pr2rFbYtGmuwAylgVqeOMw RA61JCmxRE2Fg8glarCuVcjEOR6hpzMfxlqGlOxnhtWe11uhbDRLxChgDWM6COfTskGX uFGg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1715299808; x=1715904608; 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=gdE+UHGZ+SYdvl2kt1cRiCVPiIb/90RAcCx31Rbgw4E=; b=wdp3j4YJWuvwVRdenCT/CKSNQiIuhBg9LOlwggfPJdz+mfbh0rgwWAngxf4rA/Pyyg wxNGHPivprW6T/fVktig7n3bcYr8xjww2tCLM+3rhNFJL2V9BV1/JMvkgEm2A2fBXpul I5iKO0C+9d+kCEncBPA/TqUoQHxDgcCTzGa8S09LHLKohf4atjkx5ybQlggOR5QUIUUT 196RX9MJYa0jhMbI/8Bms43O8uULVbQ3B1Kjo//sQq3LpQuQoHF7Ozi3ixD5reH4AZMu mBTPT8kBp10qZ2X3IxPyppAHZ5h4yXqnKlL0SKWCN2WpTGnpDaKbYGnoaPBoeFmED4AO KSZw== X-Forwarded-Encrypted: i=1; AJvYcCUstbUKpLROqbgpzNYSSZ9/jjyF57yvFIhNzdsO47Oo34T+qewIFQMSRTbjR+qIkKajpH9n6QviwpdG8BL1AUUmvmjG X-Gm-Message-State: AOJu0YyfXXvWuI0fWGg0FmjhfPVb1SWuu89nmCvkhLNqx14q0Ut810kX WDHPXz+prslH8DM1xDRwBt7meoFca/0LlURWE4M8xmzCTxbt34yX1E+rafkR7UfG8wa+KCShlRX emg== X-Google-Smtp-Source: AGHT+IEfJXtiyieqL6lLKw5PMbyK05+5j/j0TJ21PWb0NkhFN18JJcDrrkKCOPfn5mFZZTU5hg5qrhmQ0UI= X-Received: from edliaw.c.googlers.com ([fda3:e722:ac3:cc00:24:72f4:c0a8:305d]) (user=edliaw job=sendgmr) by 2002:a05:6a00:3ccd:b0:6f3:c10a:7be8 with SMTP id d2e1a72fcca58-6f4e0145c08mr76656b3a.0.1715299808177; Thu, 09 May 2024 17:10:08 -0700 (PDT) Date: Fri, 10 May 2024 00:06:40 +0000 In-Reply-To: <20240510000842.410729-1-edliaw@google.com> Precedence: bulk X-Mailing-List: bpf@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: 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-24-edliaw@google.com> Subject: [PATCH v4 23/66] selftests/ipc: Drop define _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, John Hubbard , Muhammad Usama Anjum _GNU_SOURCE is provided by lib.mk, so it should be dropped to prevent redefinition warnings. Reviewed-by: John Hubbard Reviewed-by: Muhammad Usama Anjum Signed-off-by: Edward Liaw --- tools/testing/selftests/ipc/msgque.c | 1 - 1 file changed, 1 deletion(-) diff --git a/tools/testing/selftests/ipc/msgque.c b/tools/testing/selftests/ipc/msgque.c index c75ea4094870..45aba6aa8e1d 100644 --- a/tools/testing/selftests/ipc/msgque.c +++ b/tools/testing/selftests/ipc/msgque.c @@ -1,5 +1,4 @@ // SPDX-License-Identifier: GPL-2.0 -#define _GNU_SOURCE #include #include #include