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

From: Greg KH
Date: Thu Jul 04 2019 - 04:21:27 EST


On Thu, Jul 04, 2019 at 04:24:35PM +1000, Stephen Rothwell wrote:
> Hi all,
>
> After merging the driver-core tree, today's linux-next build (x86_64
> allmodconfig) produced this warning:
>
> fs/orangefs/orangefs-debugfs.c: In function 'orangefs_debugfs_init':
> fs/orangefs/orangefs-debugfs.c:193:1: warning: label 'out' defined but not used [-Wunused-label]
> out:
> ^~~
> fs/orangefs/orangefs-debugfs.c: In function 'orangefs_kernel_debug_init':
> fs/orangefs/orangefs-debugfs.c:204:17: warning: unused variable 'ret' [-Wunused-variable]
> struct dentry *ret;
> ^~~
>
> Introduced by commit
>
> f095adba36bb ("orangefs: no need to check return value of debugfs_create functions")

Ugh, sorry about that, will fix it up as well...