diff options
author | Eric W. Biederman <ebiederm@xmission.com> | 2012-12-18 02:19:36 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-12-18 05:14:15 +0100 |
commit | 992956189de58cae9f2be40585bc25105cd7c5ad (patch) | |
tree | 61f5f6504117c725d3d882f7dc0f29c2c4bf18fd /kernel/ptrace.c | |
parent | mm,numa: fix update_mmu_cache_pmd call (diff) | |
download | linux-992956189de58cae9f2be40585bc25105cd7c5ad.tar.xz linux-992956189de58cae9f2be40585bc25105cd7c5ad.zip |
efi: Fix the build with user namespaces enabled.
When compiling efivars.c the build fails with:
CC drivers/firmware/efivars.o
drivers/firmware/efivars.c: In function ‘efivarfs_get_inode’:
drivers/firmware/efivars.c:886:31: error: incompatible types when assigning to type ‘kgid_t’ from type ‘int’
make[2]: *** [drivers/firmware/efivars.o] Error 1
make[1]: *** [drivers/firmware/efivars.o] Error 2
Fix the build error by removing the duplicate initialization of i_uid and
i_gid inode_init_always has already initialized them to 0.
Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'kernel/ptrace.c')
0 files changed, 0 insertions, 0 deletions