linux-next: build warning after merge of the vfs tree

From: Stephen Rothwell
Date: Mon Sep 24 2012 - 21:52:05 EST


Hi Al,

After merging the vfs tree, today's linux-next build (powerpc
ppc64_defconfig) produced this warning:

kernel/events/core.c: In function 'perf_ioctl':
kernel/events/core.c:3285:17: warning: 'output.file' may be used uninitialized in this function [-Wuninitialized]
include/linux/file.h:36:5: warning: '*((void *)&output+8)' may be used uninitialized in this function [-Wuninitialized]
kernel/events/core.c:3281:14: note: '*((void *)&output+8)' was declared here

Introduced by commit 19ba95358327 ("switch simple cases of fget_light to
fdget"). perf_fget_light() takes the address of a struct fd * but does
not do anything with it ...

--
Cheers,
Stephen Rothwell sfr@xxxxxxxxxxxxxxxx

Attachment: pgp00000.pgp
Description: PGP signature