[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <bb1353fa-0c05-76eb-4d88-e43f60dcfec0@nvidia.com>
Date: Mon, 27 Jun 2022 12:53:25 +0100
From: Jon Hunter <jonathanh@...dia.com>
To: Stephen Rothwell <sfr@...b.auug.org.au>,
Colin Cross <ccross@...roid.com>,
Olof Johansson <olof@...om.net>,
Thierry Reding <treding@...dia.com>
Cc: Bitan Biswas <bbiswas@...dia.com>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
Linux Next Mailing List <linux-next@...r.kernel.org>
Subject: Re: linux-next: build warning after merge of the tegra tree
Hi Stephen,
On 27/06/2022 00:15, Stephen Rothwell wrote:
> Hi all,
>
> After merging the tegra tree, today's linux-next build (arm
> multi_v7_defconfig) produced this warning:
>
> In file included from drivers/soc/tegra/fuse/fuse-tegra.c:7:
> include/linux/device.h:136:33: warning: 'dev_attr_production' defined but not used [-Wunused-variable]
> 136 | struct device_attribute dev_attr_##_name = __ATTR_RO(_name)
> | ^~~~~~~~~
> drivers/soc/tegra/fuse/fuse-tegra.c:441:8: note: in expansion of macro 'DEVICE_ATTR_RO'
> 441 | static DEVICE_ATTR_RO(production);
> | ^~~~~~~~~~~~~~
>
> Introduced by commit
>
> 2258fe488a20 ("soc/tegra: fuse: Expose Tegra production status")
>
Thanks for reporting. I have sent an updated patch to fix this [0].
Cheers
Jon
[0]
https://lore.kernel.org/linux-tegra/20220627114119.110825-1-jonathanh@nvidia.com/T/#u
--
nvpublic
Powered by blists - more mailing lists