Subject: Re: linux-next: build warning after merge of the driver-core.current tree

From: Greg KH <[email-masked]>
Date: Thu, 21 Apr 2022 08:49:37 +0200

On Thu, Apr 21, 2022 at 03:26:45PM +1000, Stephen Rothwell wrote:
> Hi all,
> 
> After merging the driver-core.current tree, today's linux-next build
> (x86_64 allnoconfig) produced this warning:
> 
> drivers/base/topology.c: In function 'topology_is_visible':
> drivers/base/topology.c:158:24: warning: unused variable 'dev' [-Wunused-variable]
>   158 |         struct device *dev = kobj_to_dev(kobj);
>       |                        ^~~
> 
> Introduced by commit
> 
>   aa63a74d4535 ("topology/sysfs: Hide PPIN on systems that do not support it.")

Tony, can you please send a fixup patch for this, or should I just
revert this commit for now?

thanks,

greg k-h