Files
i2som-imx-linux/include/linux
Viresh Kumar e09bdbeef9 mtd: map: Fix compilation warning
commit 3e9ce49e0e upstream.

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>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
2017-11-11 13:34:46 +00:00
..
2017-11-11 13:34:46 +00:00
2016-08-22 22:37:11 +01:00
2016-04-01 01:54:32 +01:00
2014-12-14 16:23:48 +00:00
2017-02-23 03:51:05 +00:00
2015-05-09 23:16:12 +01:00
2017-07-02 17:12:47 +01:00
2016-04-01 01:54:31 +01:00
2014-07-11 13:33:35 +01:00
2017-09-15 18:30:50 +01:00
2014-08-06 18:07:42 +01:00
2015-02-20 00:49:37 +00:00