Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp10853760pxu; Wed, 30 Dec 2020 13:43:14 -0800 (PST) X-Google-Smtp-Source: ABdhPJyzT/DdE39ZoRcI2WjHOS0tOxg23twVdHjhcTZwdLrAHiTUuuTcYIody9gLn30GPDyjupGn X-Received: by 2002:a17:906:af99:: with SMTP id mj25mr52161712ejb.414.1609364594689; Wed, 30 Dec 2020 13:43:14 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1609364594; cv=none; d=google.com; s=arc-20160816; b=QGfJ9fcFLzpQBv+XADCefAxwFvYR80ld14KintzKOkJmq9TXvH8kqSBSRLm+D27zEN txIUAFPhjx99rpaPFBPz+QXFIGgghrpEkBGuq/Tko/ON6oOg9XqIRE60fCS9oM0R8tkU 88qJSqjp53MiR3MUmxpgi2CgV1s8dfybLLYfa6CJT5Mjl9f30h5HDsgMYkaSDIEbE2oP 5kVSZCsBO4JZxKyEBb38nPa2wVdaJ38VEYcaFVSI6EibysgoJnQ0bn8kHwtYVmeKGiz4 BP43NsjrOWDWxzEypqX6sAtkqez3tCy/PeLYXbROe/yN8tuKbVRum7ncujJjz89lVa8s zhbA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=Znbi/QBRH1r/lzW0u+lmklydV+9M9GWrvc4dMx661O0=; b=JeSUONKhMkPw37t1JKlpppkIjdIi0Mp5vzJCjDSkDXqroPiQ+V1ijajs3HvDyB84yr AollmYFvHv2JoSZbzqFlVqzYMrlSfZQldLUPTfWbCI6tRkh6iHIDvHnUqz58W5lS2K8V VsPGBTSbT+Bnps6j7BQJAzRg8+oVQ2QOCR0Rz6rgmdl4U5AW5yJp1cybnB/htmAmyZJ+ 2vpnZ+IyjtITctDEDBRkc7Cm2BMRf2TP0LcRjACp+IYfbAewg+Di1rnDfGDsIZHPX0Tv 0SLvjMVujOfC9ugHN4U648JMHcnMB0sgiJDIL0ar0IMthtDfndLmowfsxSgBLznz8hDR DWdg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id j14si22847597ejy.327.2020.12.30.13.42.51; Wed, 30 Dec 2020 13:43:14 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726352AbgL3Vlh (ORCPT + 99 others); Wed, 30 Dec 2020 16:41:37 -0500 Received: from relay3-d.mail.gandi.net ([217.70.183.195]:40305 "EHLO relay3-d.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726289AbgL3Vlh (ORCPT ); Wed, 30 Dec 2020 16:41:37 -0500 X-Originating-IP: 86.202.109.140 Received: from localhost (lfbn-lyo-1-13-140.w86-202.abo.wanadoo.fr [86.202.109.140]) (Authenticated sender: alexandre.belloni@bootlin.com) by relay3-d.mail.gandi.net (Postfix) with ESMTPSA id 4CC4860003; Wed, 30 Dec 2020 21:40:54 +0000 (UTC) Date: Wed, 30 Dec 2020 22:40:53 +0100 From: Alexandre Belloni To: Nicolas Pitre Cc: Arnd Bergmann , Nathan Chancellor , Nick Desaulniers , Boris Brezillon , Arnd Bergmann , linux-i3c@lists.infradead.org, linux-kernel@vger.kernel.org, clang-built-linux@googlegroups.com Subject: Re: [PATCH] i3c/master/mipi-i3c-hci: re-fix __maybe_unused attribute Message-ID: <20201230214053.GB110311@piout.net> References: <20201230154304.598900-1-arnd@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 30/12/2020 16:23:56-0500, Nicolas Pitre wrote: > On Wed, 30 Dec 2020, Arnd Bergmann wrote: > > > From: Arnd Bergmann > > > > clang warns because the added __maybe_unused attribute is in > > the wrong place: > > > > drivers/i3c/master/mipi-i3c-hci/core.c:780:21: error: attribute declaration must precede definition [-Werror,-Wignored-attributes] > > static const struct __maybe_unused of_device_id i3c_hci_of_match[] = { > > ^ > > include/linux/compiler_attributes.h:267:56: note: expanded > > > > Fixes: 95393f3e07ab ("i3c/master/mipi-i3c-hci: quiet maybe-unused variable warning") > > Signed-off-by: Arnd Bergmann > > Acked-by: Nicolas Pitre > > This might be the 3rd patch from 3 different people fixing the same > thing. Looks like I3C maintainer is on vacation. Please feel free to > send this trivial fix upstream some other way. > Isn't it already upstream? https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=95393f3e07ab53855b91881692a4a5b52dcdc03c -- Alexandre Belloni, Bootlin Embedded Linux and Kernel engineering https://bootlin.com