Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp206484pxb; Mon, 8 Feb 2021 20:34:10 -0800 (PST) X-Google-Smtp-Source: ABdhPJzSxZc9QhfjwYLBZbfH+3DGL+vf5ijRu1nDtehFHjfnS15fyYGRA7VyoYXtOYrgBoJ5g4Vo X-Received: by 2002:a17:906:e088:: with SMTP id gh8mr20270467ejb.294.1612845250116; Mon, 08 Feb 2021 20:34:10 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1612845250; cv=none; d=google.com; s=arc-20160816; b=LIJee+p5OJf1UzFha2xxEeFm4CsZpPXrV9hGNDhvgIpqX4adEDdMCqLKGr7VDi97ap nQV3398DwfNyMXzy9I5GA9iZbf8yxLd8BeBzGgSBl8b9LCp0kRSIjfMnHFOMAdG9PUu6 lfoCpbg2LDLxwLauGFgclYBIhO4K5s4rBFM4BUs10CPgDRaOeMov+oBZuVC8QZBjqVZu eLw6nR3X7TnBuJypYqWyaVWLfeeLkGWzet8nDzAxngxe4pFhim+Rdp8Wn90hikXxD9D0 RwuKr7EfwwdvtK0atJxX2KxV7+Tj54GmiJknHeUkOGjeUoD4Nj1QP3TkEpSJKZKBZQxx cNPQ== 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:dkim-signature; bh=HXW/QFVb68zoYCgTQ8HscshCSusnmdBnTrpfvRG3BY4=; b=FXi1RACZq+FQgTho3yYV6ExkrI+xmicbL1/EQonnchYc1pOcW1isyWkkQwCfTHWoFl AKFqh8buzh3aSxbvL6T6lKOyfTxkrI+jHsJEKAyDw+PIIZlFTDhRGzBMQZ7LO1gWRsk5 VM4Uy4MFRCLyMTF71M/Re2fe3ShlQbEjVIud7zh7y8h5LY54/B09x0/bVqVS7mq7m3VX avVJTrUNMVL0rmKNZOxfpDBgdv0ByPmxGaH0GF4ccCfNup7UGOBQxKLcAPHzDPbLQkfa nOpGcZfXNicFDsC6ycV3IxhHJYzUfzCUleMuHgUX0tw72/knXKmll/dR4XSN2150/ktM hYHw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=cTTl5Raq; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id x22si14159295edl.456.2021.02.08.20.33.45; Mon, 08 Feb 2021 20:34:10 -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; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=cTTl5Raq; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229772AbhBIEbi (ORCPT + 99 others); Mon, 8 Feb 2021 23:31:38 -0500 Received: from mail.kernel.org ([198.145.29.99]:47086 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230206AbhBIEBA (ORCPT ); Mon, 8 Feb 2021 23:01:00 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id EE5AB64E8C; Tue, 9 Feb 2021 03:59:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1612843200; bh=BT5G6hDydO7Z4cLz9dvfPbU6nwbCCY0Hm+9TTgwZdaI=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=cTTl5RaqXBiJ020DI3KFCN2+QG9oo9nEBzkeDfRuQHKvjUO/W2lG8+SQE1dNlQWb0 UIw94m9cO4W8LMyCBkKVwOdTkeeMzVSUEJh4tj8oh30gWyXwni1q2baI5UAc7aQvme 4kPiGtSwxa09L41Im7SncLXgoAY/hJtjgfNO1/Uuy1awmqQiAIf69IRCzO0QgBKxab bZojKVteJ2XmE7qTNygj18149E7GZXFGS8ErnSraGDcdTMN8hXDLJfOxlMo90hOgJn StuNodUbLqD6OLBl01LDQjSu36Nq685UOp5XqV8diNruDs8w72+EZiUew5goALK6Zl rIgjdx70cWgaw== Date: Mon, 8 Feb 2021 20:59:58 -0700 From: Nathan Chancellor To: Alexandre Belloni Cc: Nathan Chancellor , Nick Desaulniers , linux-kernel@vger.kernel.org, Nicolas Pitre , clang-built-linux@googlegroups.com, linux-i3c@lists.infradead.org Subject: Re: [PATCH] i3c/master/mipi-i3c-hci: Fix position of __maybe_unused in i3c_hci_of_match Message-ID: <20210209035958.GA2059815@ubuntu-m3-large-x86> References: <20201222025931.3043480-1-natechancellor@gmail.com> <160943653614.132002.12499200411415721355.b4-ty@bootlin.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <160943653614.132002.12499200411415721355.b4-ty@bootlin.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Dec 31, 2020 at 06:42:23PM +0100, Alexandre Belloni wrote: > On Mon, 21 Dec 2020 19:59:31 -0700, Nathan Chancellor wrote: > > Clang warns: > > > > ../drivers/i3c/master/mipi-i3c-hci/core.c:780:21: warning: attribute > > declaration must precede definition [-Wignored-attributes] > > static const struct __maybe_unused of_device_id i3c_hci_of_match[] = { > > ^ > > ../include/linux/compiler_attributes.h:267:56: note: expanded from macro > > '__maybe_unused' > > #define __maybe_unused __attribute__((__unused__)) > > ^ > > ../include/linux/mod_devicetable.h:262:8: note: previous definition is > > here > > struct of_device_id { > > ^ > > 1 warning generated. > > > > [...] > > Applied, thanks! > > [1/1] i3c/master/mipi-i3c-hci: Fix position of __maybe_unused in i3c_hci_of_match > commit: 291b5c9870fc546376d69cf792b7885cd0c9c1b3 > > Best regards, > -- > Alexandre Belloni > Hi Alexandre, I see as of v5.11-rc7 that this is still an issue even though it has been applied to the fixes branch. Is it possible for this to make it in to 5.11 final? Cheers, Nathan