Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1594818 > unrolled thread
| Started by | Stephen Rothwell <sfr@canb.auug.org.au> |
|---|---|
| First post | 2017-03-08 04:20 +0100 |
| Last post | 2017-03-08 09:50 +0100 |
| Articles | 2 — 2 participants |
Back to article view | Back to linux.kernel
linux-next: build warnings after merge of the overlayfs tree Stephen Rothwell <sfr@canb.auug.org.au> - 2017-03-08 04:20 +0100
Re: linux-next: build warnings after merge of the overlayfs tree Amir Goldstein <amir73il@gmail.com> - 2017-03-08 09:50 +0100
| From | Stephen Rothwell <sfr@canb.auug.org.au> |
|---|---|
| Date | 2017-03-08 04:20 +0100 |
| Subject | linux-next: build warnings after merge of the overlayfs tree |
| Message-ID | <tiAiR-uG-1@gated-at.bofh.it> |
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
[toc] | [next] | [standalone]
| From | Amir Goldstein <amir73il@gmail.com> |
|---|---|
| Date | 2017-03-08 09:50 +0100 |
| Message-ID | <tiFsf-3Rn-33@gated-at.bofh.it> |
| In reply to | #1594818 |
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.
[toc] | [prev] | [standalone]
Back to top | Article view | linux.kernel
csiph-web