summaryrefslogtreecommitdiffstats
path: root/include/linux/nfsd
diff options
context:
space:
mode:
authorViresh Kumar <viresh.kumar@linaro.org>2012-10-29 22:47:26 +0530
committerArtem Bityutskiy <Artem.Bityutskiy@linux.intel.com>2012-11-15 19:50:30 +0200
commit3e9ce49e0ef95e22790a74720f0068696b2477c9 (patch)
tree0daf0f0ceb621f5e3957d01f242d9d13c3823477 /include/linux/nfsd
parent9ef525a9141b14d23613faad303cf48a20814f1b (diff)
downloadlinux-stable-3e9ce49e0ef95e22790a74720f0068696b2477c9.tar.gz
linux-stable-3e9ce49e0ef95e22790a74720f0068696b2477c9.tar.bz2
linux-stable-3e9ce49e0ef95e22790a74720f0068696b2477c9.zip
mtd: map: Fix compilation warning
This patch is an attempt to fix following compilation warning. In file included from drivers/mtd/chips/cfi_cmdset_0001.c:35:0: drivers/mtd/chips/cfi_cmdset_0001.c: In function 'cfi_intelext_write_words': include/linux/mtd/map.h:331:11: warning: 'r.x[0]' may be used uninitialized in this function [-Wmaybe-uninitialized] I could have used uninitialized_var() too, but didn't used it as the final else part of map_word_load() is missing. So there is a chance that it might be passed uninitialized. Better initialize to zero. Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org> Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Diffstat (limited to 'include/linux/nfsd')
0 files changed, 0 insertions, 0 deletions