Received: by 2002:ab2:620c:0:b0:1ef:ffd0:ce49 with SMTP id o12csp1169971lqt; Tue, 19 Mar 2024 15:12:53 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWUrcjweF71tIx7+YkFBnyZt2zgUDRJXDf2pshdIbVc/6goQo0ohqAKL/V5fkfTOV1RHJg5gmayEF3YUZqngbUvfg77X1acceLOQI0iKg== X-Google-Smtp-Source: AGHT+IHx2eWXqJnjXW5UcnuvK3k8jDwP4F2+LsZtkL6lP7k7dtRO0L55Nn0PXwrgXIJJIj2O6+XI X-Received: by 2002:a05:6a20:3942:b0:1a3:2f9e:b0da with SMTP id r2-20020a056a20394200b001a32f9eb0damr14127462pzg.23.1710886373347; Tue, 19 Mar 2024 15:12:53 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1710886373; cv=pass; d=google.com; s=arc-20160816; b=u8b3HfuRmlN86ar3Wb/pX9JJnMhtMXUGqmNgarctxzWuU/7s2Tn411wtA8a0lEdUHC 4nFZ8cy3Kj6ba7FvrMqc4woN0cU+BPbWWAAQFnIjZKQ0ESZL85+x7zbwmMxc1XAfb/tL mqzlQ1jNMgQPLh/oMQwMtg31oDIzrRar+KZkjzMmhp2qliXPCYXs5KEwPgq2wmQOj5mb pZTyF2tQ0LdFyeQ3qxGG5fJE0UlXthJ2FqdHKcOX56ETs53/uinFpjUL13MX54bPFhE+ rEUmYGbngj2FzkwbEIGneQqg6zO8jof9ylX/LgbQOdaxmZRIreDpclE13eGq62B6zGLi JSTQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :subject:cc:to:from:date; bh=hbJm5IEHFAMxEKMHHwfRmOx1/fAwOhRLDeFvGVKrmkU=; fh=a8QgklL/xSrkwGWcJoYzMJ/nAvFP6m88MybYUqhdG7Y=; b=yFr3jbtmFnU3p+U3k5KDRetgIkhq9a0wLTP8ksr6yOcya6VfAsvJUmLv4o4uxvwZ7K imZ/Ydwk74PnQ6M/C1B7KDBLgKITZ9lEEza+ejaUg8v//HoYbmXdiOrYcD0JRxZsfGm2 /k7hkGRoHwJvtlkEgtolhnThkvEocofOB+KalzEt0chvZKMn7v64Kwzd8FZWFMbkTThx Xl/cQ9zvTySH11E75Edrr6fMjNFGwj0xN91iWzRC+K41tB4xbygLnByEm8+LtX+eoPdj hExIEBQs9AZJdcLRZoMK7hnL/SxnJ/vJnQclDaoNc1FtJICsKzb5FE55arjpWwB7HFiu uLQQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1); spf=pass (google.com: domain of linux-kernel+bounces-108180-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-108180-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id ay33-20020a056a00302100b006e7460512besi1973769pfb.189.2024.03.19.15.12.53 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 Mar 2024 15:12:53 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-108180-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; arc=pass (i=1); spf=pass (google.com: domain of linux-kernel+bounces-108180-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-108180-linux.lists.archive=gmail.com@vger.kernel.org" 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 sv.mirrors.kernel.org (Postfix) with ESMTPS id E351B281889 for ; Tue, 19 Mar 2024 22:12:52 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 1D8B951C5B; Tue, 19 Mar 2024 22:12:48 +0000 (UTC) Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 8580A4F889; Tue, 19 Mar 2024 22:12:47 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710886367; cv=none; b=iAGwBgjduTKMxKV1c2UouhIs7918XxjPOURixzu8lPbe1470NgmKkdxioYNeht5f5mkgemoBK1uI29cpcMgqZETMT8oMps5StmMhUUM+egd/lqehdgLfEF7pbeYQ8ONYCCW52OGbC/ndIiMt3IpgsL68YYavTqrs883rKiXBH1Q= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710886367; c=relaxed/simple; bh=tPHeG/iPj62eX8v+YXuhixQuK4X+clWTh3PEscqnhhE=; h=Date:From:To:Cc:Subject:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=Ody1ax3qgYAQ5p7zTnDU1X74ila4lY1uELYY844MG2Tsosr1hJ+7/2Sj7C5+w2rSvpoJcY6StfMXXLi8mha5Y1PVTD9ljhixRAzzyXr+78EAgisQU7aHMKPZj7JsHEuimTCBY/mtT4vZM+46sZwqJJ5JEtlM4uePskjgaRxDl8M= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 3DBD1C433F1; Tue, 19 Mar 2024 22:12:46 +0000 (UTC) Date: Tue, 19 Mar 2024 18:15:09 -0400 From: Steven Rostedt To: Nathan Chancellor Cc: mhiramat@kernel.org, mathieu.desnoyers@efficios.com, ndesaulniers@google.com, morbo@google.com, justinstitt@google.com, linux-kernel@vger.kernel.org, linux-trace-kernel@vger.kernel.org, llvm@lists.linux.dev, patches@lists.linux.dev, Linux Kernel Functional Testing Subject: Re: [PATCH 0/2] tracing: Fully silence instance of -Wstring-compare Message-ID: <20240319181509.25bacdc5@gandalf.local.home> In-Reply-To: <20240319-tracing-fully-silence-wstring-compare-v1-0-81adb44403f5@kernel.org> References: <20240319-tracing-fully-silence-wstring-compare-v1-0-81adb44403f5@kernel.org> X-Mailer: Claws Mail 3.19.1 (GTK+ 2.24.33; x86_64-pc-linux-gnu) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit On Tue, 19 Mar 2024 09:07:51 -0700 Nathan Chancellor wrote: > Hi all, > > This series fully resolves the new instance of -Wstring-compare from > within the __assign_str() macro. The first patch resolves a build > failure with GCC that would be seen with just the second patch applied. > The second patch actually hides the warning. > > NOTE: This is based on trace/for-next, which does not contain the > minimum LLVM version bump that occurred later in the current merge > window, so this uses > > __diag_ignore(clang, 11, ... > > instead of > > __diag_ignore(clang, 13, ... > > which will be required when this is merged into Linus's tree. If you can > base this series on a tree that has the merge commit e5eb28f6d1af ("Merge > tag 'mm-nonmm-stable-2024-03-14-09-36' of > git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm") in it, then that > change can be done at application time, rather than merge time (or I can > send a v2). It would be really nice for this to make the merge window so > that this warning does not proliferate into other trees that base on > -rc1. > I'm guessing this isn't needed with the last update. -- Steve