From patchwork Fri May 10 00:06:22 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Edward Liaw X-Patchwork-Id: 13660505 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 952D37F for ; Fri, 10 May 2024 00:09:23 +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=1715299765; cv=none; b=ZQaZz0H6CqWyfPTkJZvZBlkFkjGW/cnPClJmykWUtBpjia/FutBIf2PrCTx4om5tJIBWA5PNwY3WZsDsjb7i8ot5ArPfJ/hiT0rHP7fDXQD0FMFGiHhXxpgvcED2kmCuSDf2IHxmBzm7ObAud33rVx3yTEHe/O2ldp/IMPhParA= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715299765; c=relaxed/simple; bh=k2mxng2RX5GUHfGf5TqA107hGVgyxKKMveycAQ4p3io=; h=Date:In-Reply-To:Mime-Version:References:Message-ID:Subject:From: To:Cc:Content-Type; b=tBKnl8b+CxV/N8FToyiTlJF30KbKrCXf6ICt4rJD6laRvVRJDRBZC5svPjixIbzJ3qc6fDVPiXyiMsCTEEafimN0rAipsymJWDhNH+hgZ2DouBg+8/I2HyKrflIz1tFnNmWNmPwNbu6osfP7VzmPVsXUk48NTu29VbH3APja9AQ= 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=pITzxVD3; 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="pITzxVD3" Received: by mail-pf1-f201.google.com with SMTP id d2e1a72fcca58-6f49fc7b5e6so1545566b3a.3 for ; Thu, 09 May 2024 17:09:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1715299763; x=1715904563; 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=x5hVF24XSWQsJ+4cb95KYVo5LMwPzJ3133L9BIUCMMM=; b=pITzxVD3C7TrrraHAZZ29bi7mELrKMSAIrWUdW1s2See/thmVNqx8Eaf+0RbEX+JMZ UJGUDIJl1ZXGva6chhZudIlEMWeypdaunZkcLJ3SHESUlw4cV7Vo6A1ElqoM7pv7h/DZ N/HsnB1KyTvDGl2tVLfN0EqERtyxHOJYkEDz0mrftGfiQJM7/bapf4HDNRrwVN1nrcz1 qaIZ4+DXIVt+M4iX3RDGVWCnY7Xbu7CZOXrQcaCCxgpNi4ZGyE/HaeG8/+3p+yH4Hpmr x1/nEFKB7L3OgGuwJvGcLgM4Cfj8CrmOE02zs65TmuotWvGTk6stEwhlSKf6Uiwvo9IW VNKg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1715299763; x=1715904563; 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=x5hVF24XSWQsJ+4cb95KYVo5LMwPzJ3133L9BIUCMMM=; b=cPJYLzBAaTtRwnscH3ieGAmy+UXHG+GtloxU8tEhZu8Pu+WUxqp7JQTDhk5SB0xNX/ jiMipFXTKr2L0PGcJIqIEEWMa1oNjFazEOZUvosvF7MFNgBv0bhrFpNSb0LA+wbwQ2KI sAM0ziA2EjNuWTvsiOTeSAyFM0+QwtDrzC9VPyag5+1y1QEcNafzgypSEX8DFQ1oXARk iKW/lDsI73c2fJlj+wwzAdA0dpZbMjKisIOgEot7n2me35dmq1Qoxq8svnFAqnnVexxG N46ABkjsBzhV4F9myjSv4AWYyfqXIRhFWjEvx92GrtVcpw1xPaYjArRvE1EOUIbAL1s8 07Lg== X-Forwarded-Encrypted: i=1; AJvYcCVvn+XN6ioUvVuoQOz7syXr+LAuKehpkf7eqN8rp3Fc1qUjzOJsHFLxMZ9XuqX5JDVAr9vDT1heK92JZKS2yOhEUEKflx/QgT9TjdekR1qm X-Gm-Message-State: AOJu0YxIul9k9e0aIC96cteEEiex5WrAlUFHhZfDaRNPQSkfGkj3kiTh +NkoVQhx93U4XUOYb4CPJeTog8Ewuj4cMrWMx0mW7RfLwElDIYPiTM05YGRhl2NX14gQHusXUTq bSw== X-Google-Smtp-Source: AGHT+IEoI8M57361krHh5PkKsd9cif4/fJudIIqhtt6uxwIPL0mJF3ug6wUz8Vwy6IK0xIyS4kuYOOUid4o= X-Received: from edliaw.c.googlers.com ([fda3:e722:ac3:cc00:24:72f4:c0a8:305d]) (user=edliaw job=sendgmr) by 2002:a05:6a00:a91:b0:6f4:d079:bb24 with SMTP id d2e1a72fcca58-6f4e0296acamr50019b3a.1.1715299763075; Thu, 09 May 2024 17:09:23 -0700 (PDT) Date: Fri, 10 May 2024 00:06:22 +0000 In-Reply-To: <20240510000842.410729-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: <20240510000842.410729-1-edliaw@google.com> X-Mailer: git-send-email 2.45.0.118.g7fe29c98d7-goog Message-ID: <20240510000842.410729-6-edliaw@google.com> Subject: [PATCH v4 05/66] selftests/breakpoints: 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 _GNU_SOURCE is provided by lib.mk, so it should be dropped to prevent redefinition warnings. Signed-off-by: Edward Liaw --- tools/testing/selftests/breakpoints/breakpoint_test_arm64.c | 3 --- tools/testing/selftests/breakpoints/step_after_suspend_test.c | 3 --- 2 files changed, 6 deletions(-) diff --git a/tools/testing/selftests/breakpoints/breakpoint_test_arm64.c b/tools/testing/selftests/breakpoints/breakpoint_test_arm64.c index e7041816085a..e5a95187ac12 100644 --- a/tools/testing/selftests/breakpoints/breakpoint_test_arm64.c +++ b/tools/testing/selftests/breakpoints/breakpoint_test_arm64.c @@ -7,9 +7,6 @@ * Code modified by Pratyush Anand * for testing different byte select for each access size. */ - -#define _GNU_SOURCE - #include #include #include diff --git a/tools/testing/selftests/breakpoints/step_after_suspend_test.c b/tools/testing/selftests/breakpoints/step_after_suspend_test.c index b8703c499d28..695c10893fa4 100644 --- a/tools/testing/selftests/breakpoints/step_after_suspend_test.c +++ b/tools/testing/selftests/breakpoints/step_after_suspend_test.c @@ -2,9 +2,6 @@ /* * Copyright (C) 2016 Google, Inc. */ - -#define _GNU_SOURCE - #include #include #include