Received: by 2002:ab2:6a05:0:b0:1f8:1780:a4ed with SMTP id w5csp81194lqo; Thu, 9 May 2024 13:17:13 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXzMQGGzhVNlLoKi/EE7XJ6hhDM6Xn0g6KOkBWiMhuUlY98bchFbeXKsCE8vAyfS5D/iR/jdjkeS1E7wZcJ3eq36o2D5Y6Q66uurS60TQ== X-Google-Smtp-Source: AGHT+IExTGaOG5zBcyzLbeJ+gYScR1UonbKxGuVKijDK8C+t/9j3GPOVxVAs9GTr4RKuJBCvay/v X-Received: by 2002:a5d:5090:0:b0:34d:742f:3cd1 with SMTP id ffacd0b85a97d-3504a736079mr489801f8f.26.1715285833352; Thu, 09 May 2024 13:17:13 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715285833; cv=pass; d=google.com; s=arc-20160816; b=rc9Ncw1s0pbJS3X+ZNnl/r1hGAGp5DzK6tGYhWpZNK+NY+BX67vlaa5HsKsIZA7BQP MdsGkvxWXesnxRFVUE9sRs8rNShEfr87e4zFeZMXjnjl19JFYw/+nzLrIZqA7CZ7x1hZ Wf/eNJCeY107Cm97g+6DW5/xYv9BFzNbpvIBdhry299UsOE4TsOWTru9oavmTxLu8LCf kkKU7sk1+8GXQ5UpK0jao8r/f4Fs5tB5vXa8cSl/ZDYKs1faMy6C0U+3Fyn+G4XA3jAa plYUy0BJK9B6GIIFcB2yRRu+8kcWNJhbeWkjDxHTqt/KmQ+4PXIj0M83K2rAhfppc1YX UyoQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:from:subject:message-id:references:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:in-reply-to:date :dkim-signature; bh=M28n04MiCB7Rki3XUCV56t9NRfCH7Yl0gF/ySSCW1F0=; fh=j7MUzFV3KVHCalHT1q9I5YJvLO63C1dypd5BGNaPtOk=; b=Qv8Mc4akbyCtjPffvesNyobRzPoGilZm913oN1g6q/C9ErpoyL+5lgJkbX/FVCdmXG lOLW9hpjU2Fx4CnuI0QQJHrUfJrvBxjBcUp3fZleq6zN0U5HJ9QWdVkVB5C5cj9WQ7t+ U5zVsSRW+GZ+kWsalunqtjt0vDYqIbB5ec7Ry7ygId790TJCC5q+1P6UmlQTz1ohwjUc 6MH6ffyCSIXVvAeQ5X/OFukml+9LZNL6yCpkGOcLxtcy75d2GuXDHnWDzZt4ibnt3mB7 i0WMY0hnbsuCpwP0VTDafiVuBxkQTPVuUpDZTKN05m28rdwKtrNhC3G2dfgEjQyUzi6l 2P0A==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b=SN8esj6P; arc=pass (i=1 spf=pass spfdomain=flex--edliaw.bounces.google.com dkim=pass dkdomain=google.com dmarc=pass fromdomain=google.com); spf=pass (google.com: domain of linux-kernel+bounces-174872-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-174872-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id a640c23a62f3a-a5a17be6f3csi119797966b.798.2024.05.09.13.17.13 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 09 May 2024 13:17:13 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-174872-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b=SN8esj6P; arc=pass (i=1 spf=pass spfdomain=flex--edliaw.bounces.google.com dkim=pass dkdomain=google.com dmarc=pass fromdomain=google.com); spf=pass (google.com: domain of linux-kernel+bounces-174872-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-174872-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id DBBE91F26397 for ; Thu, 9 May 2024 20:09:53 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 8AE02139D1F; Thu, 9 May 2024 20:02:00 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="SN8esj6P" Received: from mail-yb1-f201.google.com (mail-yb1-f201.google.com [209.85.219.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 422C61386CF for ; Thu, 9 May 2024 20:01:58 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.219.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715284919; cv=none; b=uu95XLDFF6kCq2jjkf+T42MF2r56BONihrNRHMudzr13OK6fu9Z+AtnRB1zmkIwS2AdtctcV4OJfceio+ORzfSpZuvKLpIb4RDmN7z5pbznkGjBLmX0vFw4dQ195jDJ0gueRFlWer6r0SD+kCL9748DyZdwlieXbTLNWqdItbKk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715284919; c=relaxed/simple; bh=pT+XZwZoOeLRlGPh8pZw/75/DuYvyGsmPHR7OeRuxIA=; h=Date:In-Reply-To:Mime-Version:References:Message-ID:Subject:From: To:Cc:Content-Type; b=CLdw0UBOCgl3pHQkEDNJHhRnf8fYVaptgN1olkBOc/jRdFJlOaXbPX0i7735bGMflMNPuHTTForG4/JV4GstIXEG5/qpoHtefenp7QwrOoj23G2FuZdYVJ3MwJMjAxHdo0rblLORsMVniQUH209sImGO4AVI40bA2+vXcupdjaQ= 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=SN8esj6P; arc=none smtp.client-ip=209.85.219.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 Received: by mail-yb1-f201.google.com with SMTP id 3f1490d57ef6-dc6b269686aso1822945276.1 for ; Thu, 09 May 2024 13:01:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1715284917; x=1715889717; 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=M28n04MiCB7Rki3XUCV56t9NRfCH7Yl0gF/ySSCW1F0=; b=SN8esj6PlFLoH9EqdS6xZcr5jJ7OJxmljsN2sEnwZPD4Ri8gxIkGxlumG8n5yBxv71 KMB/58Wbpqrk4Q0E7z4DToiQCx3Ysdk6inUuB0ayfHUQl1vQVdCk5PhiE7L4fDshm1xo VQYr7hM274WrfMkut9AOOFCrJ8BZu+d027DJYZAj/SMuCyGMm7Amx262l57j11NFJm/R UCzRAs1gZ3ALQ76uCivG1PnNIZSTzFMDoXRAf2h9fAKsAboPZwOoUFchnivgxqP3pigd H2ttxDtXP/O1itgDEIzfgjKUli7Y+PJfPGx+D8yME22RP6gMs/KOpf9CGeXbxkS8xh83 lFng== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1715284917; x=1715889717; 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=M28n04MiCB7Rki3XUCV56t9NRfCH7Yl0gF/ySSCW1F0=; b=K3oFEqrbL2A7mNgfk7iOIGlmEsDx6e/lOtyc5PMgGx3pjQw5zGVmrg20q1Wr/60F9n NL1zbrEKZ4nEzdpCD/FlA89S4TF+2j8tGG0nRl1YMNHqW7PpFDE7NW34OOcv3CVC45Cw 9CTEsQlzMLa7WSo3+LLhvlEr7fVxf/dmzWJtaVkG9YocS2nBL0c8OYPWzROIM4dZLs0W Q2sbHAZBF3AEqtqIafrOzuFxUNuEPuepLeCxxkrPFxYoc2EZCDdDDnKo/W/tBOB7Kmo5 3QQQv3vPyepgXxc+oBt2C997uWboFNiSJbQ+odIQ1sm3/5ZXmsZkazJi9iyawaFkfu4y 3OWQ== X-Gm-Message-State: AOJu0YzqY/lQdhBnsQdvUFl4SxyZ/MtjHyEVdrQ5d5GH2ckI72+uHmGn AzpC4fdxjuuCMDJVQwgvR6geKNK3tU9OqFRcNdvEDloKFozsYwsz+NjW8AUsNOJ4n1jmNoKT1+f g+w== X-Received: from edliaw.c.googlers.com ([fda3:e722:ac3:cc00:24:72f4:c0a8:305d]) (user=edliaw job=sendgmr) by 2002:a05:6902:20ca:b0:dd9:2d94:cd8a with SMTP id 3f1490d57ef6-dee4f4f51bamr60630276.9.1715284917151; Thu, 09 May 2024 13:01:57 -0700 (PDT) Date: Thu, 9 May 2024 19:58:17 +0000 In-Reply-To: <20240509200022.253089-1-edliaw@google.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 References: <20240509200022.253089-1-edliaw@google.com> X-Mailer: git-send-email 2.45.0.118.g7fe29c98d7-goog Message-ID: <20240509200022.253089-26-edliaw@google.com> Subject: [PATCH v3 25/68] selftests/ipc: Drop define _GNU_SOURCE From: Edward Liaw To: shuah@kernel.org, "=?UTF-8?q?Micka=C3=ABl=20Sala=C3=BCn?=" , "=?UTF-8?q?G=C3=BCnther=20Noack?=" , Christian Brauner , Richard Cochran , Paul Walmsley , Palmer Dabbelt , Albert Ou , Alexei Starovoitov , Daniel Borkmann , "David S. Miller" , Jakub Kicinski , Jesper Dangaard Brouer , John Fastabend , Muhammad Usama Anjum , Edward Liaw , Andrew Morton Cc: linux-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org, kernel-team@android.com, linux-security-module@vger.kernel.org, netdev@vger.kernel.org, linux-riscv@lists.infradead.org, bpf@vger.kernel.org, John Hubbard Content-Type: text/plain; charset="UTF-8" _GNU_SOURCE is provided by lib.mk, so it should be dropped to prevent redefinition warnings. Fixes: 809216233555 ("selftests/harness: remove use of LINE_MAX") 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 -- 2.45.0.118.g7fe29c98d7-goog