diff options
author | Andrew Morton <akpm@linux-foundation.org> | 2011-05-25 04:13:42 +0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2011-05-25 19:39:56 +0400 |
commit | 2a5cac17c06f897537f91f0040b3d3c8177f6433 (patch) | |
tree | c0f9340b36f04dc1baa5dc7cac4a32a5df696366 /lib/Kconfig.kgdb | |
parent | 0fccc6221821e07366aa44bca112c4edb6d04dd7 (diff) | |
download | linux-2a5cac17c06f897537f91f0040b3d3c8177f6433.tar.xz |
fs/ncpfs/inode.c: suppress used-uninitialised warning
We get this spurious warning:
fs/ncpfs/inode.c: In function 'ncp_fill_super':
fs/ncpfs/inode.c:451: warning: 'data.mounted_vol[1u]' may be used uninitialized in this function
fs/ncpfs/inode.c:451: warning: 'data.mounted_vol[2u]' may be used uninitialized in this function
fs/ncpfs/inode.c:451: warning: 'data.mounted_vol[3u]' may be used uninitialized in this function
...
It's notabug, but we can easily fix it with a memset().
Reported-by: Harry Wei <jiaweiwei.xiyou@gmail.com>
Cc: Petr Vandrovec <petr@vandrovec.name>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'lib/Kconfig.kgdb')
0 files changed, 0 insertions, 0 deletions