* linux-next: build warnings after merge of the overlayfs tree
@ 2017-03-07 23:16 Stephen Rothwell
2017-03-08 8:44 ` Amir Goldstein
0 siblings, 1 reply; 2+ messages in thread
From: Stephen Rothwell @ 2017-03-07 23:16 UTC (permalink / raw)
To: Miklos Szeredi; +Cc: linux-next, linux-kernel, Amir Goldstein
Hi Miklos,
After merging the overlayfs tree, today's linux-next build (powerpc
ppc64_defconfig) produced these warnings:
fs/overlayfs/inode.c:322:30: warning: 'ovl_i_mutex_key' defined but not used [-Wunused-variable]
static struct lock_class_key ovl_i_mutex_key[FILESYSTEM_MAX_STACK_DEPTH];
^
fs/overlayfs/inode.c:323:30: warning: 'ovl_i_mutex_dir_key' defined but not used [-Wunused-variable]
static struct lock_class_key ovl_i_mutex_dir_key[FILESYSTEM_MAX_STACK_DEPTH];
^
Introduced by commit
a41471e8eff8 ("ovl: lockdep annotate of nested stacked overlayfs inode lock")
CONFIG_LOCKDEP is not set for this build.
--
Cheers,
Stephen Rothwell
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: linux-next: build warnings after merge of the overlayfs tree
2017-03-07 23:16 linux-next: build warnings after merge of the overlayfs tree Stephen Rothwell
@ 2017-03-08 8:44 ` Amir Goldstein
0 siblings, 0 replies; 2+ messages in thread
From: Amir Goldstein @ 2017-03-08 8:44 UTC (permalink / raw)
To: Stephen Rothwell; +Cc: Miklos Szeredi, linux-next, linux-kernel
On Wed, Mar 8, 2017 at 1:16 AM, Stephen Rothwell <sfr@canb.auug.org.au> wrote:
> Hi Miklos,
>
> After merging the overlayfs tree, today's linux-next build (powerpc
> ppc64_defconfig) produced these warnings:
>
> fs/overlayfs/inode.c:322:30: warning: 'ovl_i_mutex_key' defined but not used [-Wunused-variable]
> static struct lock_class_key ovl_i_mutex_key[FILESYSTEM_MAX_STACK_DEPTH];
> ^
> fs/overlayfs/inode.c:323:30: warning: 'ovl_i_mutex_dir_key' defined but not used [-Wunused-variable]
> static struct lock_class_key ovl_i_mutex_dir_key[FILESYSTEM_MAX_STACK_DEPTH];
> ^
>
> Introduced by commit
>
> a41471e8eff8 ("ovl: lockdep annotate of nested stacked overlayfs inode lock")
>
> CONFIG_LOCKDEP is not set for this build.
>
Thanks Stephen!
Miklos, I posted v5 of the patch with a fix.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2017-03-08 8:44 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-03-07 23:16 linux-next: build warnings after merge of the overlayfs tree Stephen Rothwell
2017-03-08 8:44 ` Amir Goldstein
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).