Received: by 2002:a05:7412:cfc7:b0:fc:a2b0:25d7 with SMTP id by7csp986691rdb; Sun, 18 Feb 2024 23:42:28 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCUCFWkOg5VPSGfmmql3TBXPqy2XD0os6JC3kGe3nqnQXAYWJl8rsO4Mpm/D0mOLokvfjwOB4+ANaQzsEPhNLOMe+c6jzlbA180jBLwNPQ== X-Google-Smtp-Source: AGHT+IGQjxu3olhOF+Gj3rksLZntVQ65V+DKjq9rVEaX/JITavKr8NokOaDMnx34u3AUIe5Dx+X7 X-Received: by 2002:a05:6808:14c9:b0:3c1:5e30:fa25 with SMTP id f9-20020a05680814c900b003c15e30fa25mr1077767oiw.16.1708328548299; Sun, 18 Feb 2024 23:42:28 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708328548; cv=pass; d=google.com; s=arc-20160816; b=0hULpZkVl8vEXjL9N3sHq7XZR1an8IhkmCChVtky00Vb+X2m6CUI9BFMojU7IR4vBV wpguPJLtmpIVMxrIYB1TY9EU5LbpTIwQ674KiNa+11dKEnfjLDktvrmpAjzRodTg6FaO yTXH8ERbtBkIMzRJaAp1eIz7MFFC3FzVDzLYh0eAxwBV4fwujxu30PcEh6HxqTtWQ90a wJjqV5ML2EDEZ8qHW0v6W4OS6kFDA1RoFxqgxNVUtl936+lz8FTyZ35RslJqLCBfBexF rz7jrqqBV5JPSsvpPsGjuw3zHt/qEs2osRHZK26VomWOTbf1Hgq7hFxlFio79nKGyoRH l6NA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :references:message-id:subject:cc:to:from:dkim-signature:date; bh=xv1SsAErNeLDlReQiUOTwWoV7eXbrLbtvJ3wk244HwQ=; fh=smBartfVmZTkhlqk/HK9EyemJ1D+vaAUElON5B2F9kk=; b=jIDqggqg+utE7h1DfC6oMDtepQX34aVKnemCxCyie0hQigmzA+Kd7toWILXkurEh1f Lwa9HvbbRTWNb+VIJYY7VJ4IdgTytTAzDAOLqIGCp1kOi6n8fRQSAyyeaMCf4JUd0sPU eqoeotVmLt1s3xsbiOSlswUhD7nU0+jfL1gG7Xet2A+3xJWUCQ2mm4s6ON4BXfXWvsoA lKHU132du0RfvIi6XqppqqU1VrEW7gPmuEeQBDIRcmiawkmH2fYOmnWg7JG+bT6rktlR hveptQ9GWAfGx2Ok5rKNvzLDYOIIXloQIASzVWNuHLDQW9W75Mn4nzp35j9V4W0PorpL 2OOQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b=DKO6m93L; arc=pass (i=1 spf=pass spfdomain=linux.dev dkim=pass dkdomain=linux.dev dmarc=pass fromdomain=linux.dev); spf=pass (google.com: domain of linux-kernel+bounces-70846-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-70846-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.dev Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id h13-20020a65518d000000b005c5e24d4364si3942118pgq.428.2024.02.18.23.42.28 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 18 Feb 2024 23:42:28 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-70846-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b=DKO6m93L; arc=pass (i=1 spf=pass spfdomain=linux.dev dkim=pass dkdomain=linux.dev dmarc=pass fromdomain=linux.dev); spf=pass (google.com: domain of linux-kernel+bounces-70846-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-70846-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.dev 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 E2DEC281600 for ; Mon, 19 Feb 2024 07:42:27 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 2BAB420DC8; Mon, 19 Feb 2024 07:42:23 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b="DKO6m93L" Received: from out-179.mta1.migadu.com (out-179.mta1.migadu.com [95.215.58.179]) (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 15A7B2031A for ; Mon, 19 Feb 2024 07:42:15 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=95.215.58.179 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708328540; cv=none; b=kyCMalOpw/PaN4PAYP0/sZ2oN7x6uPfhb8SvBn+yp6WrUpuGJhg55s4fBm9yzGn3SXiS370tWiwcShhvaQ/iaceKODzOAWY6bkbkgNdhTr1HktXr3v3PCmlguZMSCUZw8NwZQDZpKUbfbNextVQpXg3AMsL0ZzKxPicDOHFTPyg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708328540; c=relaxed/simple; bh=Pvo+Ek3Iy4IsTJjIeDIlt7UnU6DilP1jXSHFrD9iMeQ=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=tRT7nd1BwoXtl9IfkC4PVeLp8vUGKbw2smZXSgtDcQVH6qrsZytUbS1wtVfpSZ0OdXwUNpBDAlxeXchPmLlJVTHF23Mincvi77Pp317Jzqtt0/t0B87r2HQDp2IPUBaWHHhXxu7DYN+AHgaD60tfPSRLeY6SoY3OlFZa1HM5oZE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev; spf=pass smtp.mailfrom=linux.dev; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b=DKO6m93L; arc=none smtp.client-ip=95.215.58.179 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.dev Date: Mon, 19 Feb 2024 02:42:10 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1708328534; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=xv1SsAErNeLDlReQiUOTwWoV7eXbrLbtvJ3wk244HwQ=; b=DKO6m93LludDXzuv/K+825dRWtoJRaz1i5qsTKYfz5z7XV+fl5Z+8HYm0+5fiQbpRCVFTA QcSmEfctqXPCMsFefinNCpmj3dicT42ZYfwAsB4Ek6miDsxW/B2hc209C6+TN80/WiMNob gNOGc2l2/84iKmOu5G7TBPJf8U9aq4Y= X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: Kent Overstreet To: Calvin Owens Cc: linux-kernel@vger.kernel.org, "linux-bcachefs@vger.kernel.org" Subject: Re: [PATCH] arm: Silence gcc warnings about arch ABI drift Message-ID: <3qjukuaadpxvz2jwhozszq2rlnzymrbbvws3btlhh776aikph6@pabo2w4mr4ao> References: <431dd956-ad31-4da8-ad42-34f7380824bb@app.fastmail.com> 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=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-Migadu-Flow: FLOW_OUT On Sun, Feb 18, 2024 at 11:36:08PM -0800, Calvin Owens wrote: > On Monday 02/19 at 02:03 -0500, Kent Overstreet wrote: > > On Sun, Feb 18, 2024 at 10:58:07PM -0800, Calvin Owens wrote: > > > On Monday 02/19 at 07:21 +0100, Arnd Bergmann wrote: > > > > On Mon, Feb 19, 2024, at 05:09, Calvin Owens wrote: > > > > > 32-bit arm builds uniquely emit a lot of spam like this: > > > > > > > > > > fs/bcachefs/backpointers.c: In function ‘extent_matches_bp’: > > > > > fs/bcachefs/backpointers.c:15:13: note: parameter passing for > > > > > argument of type ‘struct bch_backpointer’ changed in GCC 9.1 > > > > > > > > > > Apply the arm64 change from commit ebcc5928c5d9 ("arm64: Silence gcc > > > > > warnings about arch ABI drift") to silence them. It seems like Dave's > > > > > original rationale applies here too. > > > > > > > > > > Cc: Dave Martin > > > > > Signed-off-by: Calvin Owens > > > > > --- > > > > > > > > I think these should be addressed in bcachefs instead. > > > > > > That seems reasonable to me. For clarity, I just happened to notice this > > > while doing allyesconfig cross builds for something entirely unrelated. > > > > > > I'll take it up with them. It's not a big problem from my POV, the notes > > > don't cause -Werror builds to fail or anything like that. > > > > Considering we're not dynamic linking it's a non issue for us. > > [ dropping arm people/lists ] > > Would you mind taking this then? > > Thanks, > Calvin That looks like just the thing - thanks! > ---8<--- > From: Calvin Owens > Subject: [PATCH] bcachefs: Silence gcc warnings about arm arch ABI drift > > 32-bit arm builds emit a lot of spam like this: > > fs/bcachefs/backpointers.c: In function ‘extent_matches_bp’: > fs/bcachefs/backpointers.c:15:13: note: parameter passing for argument of type ‘struct bch_backpointer’ changed in GCC 9.1 > > Apply the change from commit ebcc5928c5d9 ("arm64: Silence gcc warnings > about arch ABI drift") to fs/bcachefs/ to silence them. > > Signed-off-by: Calvin Owens > --- > fs/bcachefs/Makefile | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/fs/bcachefs/Makefile b/fs/bcachefs/Makefile > index 1a05cecda7cc..3433959d4f35 100644 > --- a/fs/bcachefs/Makefile > +++ b/fs/bcachefs/Makefile > @@ -90,3 +90,6 @@ bcachefs-y := \ > xattr.o > > obj-$(CONFIG_MEAN_AND_VARIANCE_UNIT_TEST) += mean_and_variance_test.o > + > +# Silence "note: xyz changed in GCC X.X" messages > +subdir-ccflags-y += $(call cc-disable-warning, psabi) > -- > 2.43.0 >