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
..
2016-11-20 01:01:25 +00:00
2017-03-16 02:18:56 +00:00
2014-11-05 20:27:42 +00:00
2017-06-05 21:13:48 +01:00
2017-11-11 13:34:28 +00:00
2017-11-11 13:34:46 +00:00
2017-08-26 02:14:03 +01:00
2016-08-22 22:37:11 +01:00
2017-11-11 13:34:40 +00:00
2015-11-27 12:48:21 +00:00
2014-11-05 20:27:43 +00:00
2016-04-01 01:54:32 +01:00
2013-03-06 03:24:19 +00:00
2014-01-03 04:33:21 +00:00
2013-09-10 01:57:27 +01:00
2014-04-09 02:20:44 +01:00
2015-05-09 23:16:35 +01:00
2014-12-14 16:23:47 +00:00
2015-08-12 16:33:19 +02:00
2017-02-23 03:51:02 +00:00
2013-07-27 05:34:20 +01:00
2015-05-09 23:16:12 +01:00
2014-12-14 16:23:48 +00:00
2014-12-14 16:23:49 +00:00
2014-12-14 16:23:49 +00:00
2016-04-01 01:54:32 +01:00
2013-03-06 03:23:52 +00:00
2017-03-16 02:18:29 +00:00
2017-10-12 15:27:08 +01:00
2017-10-12 15:27:22 +01:00
2016-02-13 10:34:12 +00:00
2015-01-01 01:27:50 +00:00
2017-11-11 13:34:33 +00:00
2015-02-20 00:49:37 +00:00
2013-05-30 14:35:10 +01:00
2016-01-22 21:40:04 +00:00
2016-08-22 22:37:17 +01:00
2013-11-28 14:01:59 +00:00
2017-02-23 03:51:05 +00:00
2013-01-03 03:32:56 +00:00
2016-11-20 01:01:43 +00:00
2015-10-13 03:46:05 +01:00
2015-05-09 23:16:15 +01:00
2013-09-10 01:57:20 +01:00
2014-06-09 13:29:03 +01:00
2016-06-15 21:28:14 +01:00
2013-10-26 21:06:04 +01:00
2013-01-03 03:32:57 +00:00
2016-02-27 14:28:41 +00:00
2016-06-15 21:28:12 +01:00
2016-11-20 01:01:28 +00:00
2013-10-26 21:05:57 +01:00
2013-03-06 03:23:57 +00:00
2013-05-30 14:35:13 +01:00
2012-11-16 16:46:52 +00:00
2013-08-02 22:14:47 +02:00
2012-10-30 23:26:34 +00:00
2013-05-13 15:02:30 +01:00
2016-05-01 00:05:25 +02:00
2014-07-11 13:33:34 +01:00
2015-11-27 12:48:21 +00:00
2015-08-07 00:32:02 +01:00
2014-11-05 20:27:43 +00:00
2015-02-20 00:49:30 +00:00
2015-05-09 23:16:12 +01:00
2014-12-14 16:23:52 +00:00
2013-03-06 03:24:27 +00:00
2017-09-15 18:30:44 +01:00
2013-04-25 20:25:38 +01:00
2014-06-09 13:29:03 +01:00
2013-04-25 20:25:50 +01:00
2016-04-01 01:54:35 +01:00
2017-03-16 02:18:59 +00:00
2017-02-23 03:51:04 +00:00
2014-07-11 13:33:53 +01:00
2014-08-06 18:07:37 +01:00
2014-09-13 23:41:50 +01:00
2016-08-22 22:37:15 +01:00
2013-09-10 01:57:37 +01:00
2017-07-02 17:12:47 +01:00
2013-03-06 03:24:11 +00:00
2014-05-18 14:58:06 +01:00
2014-09-13 23:41:41 +01:00
2016-11-20 01:01:42 +00:00
2016-11-20 01:01:42 +00:00
2014-01-03 04:33:21 +00:00
2013-07-27 05:34:29 +01:00
2014-01-03 04:33:33 +00:00
2017-03-16 02:18:42 +00:00
2016-04-01 01:54:31 +01:00
2015-08-12 16:33:16 +02:00
2015-08-07 00:32:09 +01:00
2013-03-20 15:03:41 +00:00
2015-08-07 00:32:16 +01:00
2013-01-16 01:13:13 +00:00
2014-01-03 04:33:24 +00:00
2016-05-01 00:05:15 +02:00
2017-11-11 13:34:31 +00:00
2016-02-27 14:28:49 +00:00
2016-04-01 01:54:37 +01:00
2016-11-20 01:01:44 +00:00
2013-03-06 03:23:57 +00:00
2013-04-25 20:25:36 +01:00
2016-02-13 10:34:10 +00:00
2013-03-06 03:24:22 +00:00
2012-12-06 11:20:18 +00:00
2017-09-15 18:30:57 +01:00
2013-03-06 03:23:45 +00:00
2014-01-03 04:33:32 +00:00
2013-06-29 04:06:40 +01:00
2013-10-26 21:05:59 +01:00
2014-07-11 13:33:35 +01:00
2015-02-20 00:49:35 +00:00
2012-11-16 16:46:52 +00:00
2017-10-12 15:27:22 +01:00
2015-10-13 03:46:08 +01:00
2013-03-20 15:03:33 +00:00
2016-11-20 01:01:28 +00:00
2017-09-15 18:30:50 +01:00
2014-08-06 18:07:42 +01:00
2013-01-16 01:13:25 +00:00
2013-06-29 04:06:39 +01:00
2013-04-25 20:25:36 +01:00
2014-12-14 16:23:49 +00:00
2013-06-19 02:17:01 +01:00
2015-02-20 00:49:37 +00:00
2013-02-06 04:33:57 +00:00
2013-04-10 03:20:11 +01:00
2015-02-20 00:49:34 +00:00
2013-11-28 14:02:03 +00:00
2016-04-01 01:54:32 +01:00
2016-06-15 21:28:11 +01:00
2013-05-30 14:35:03 +01:00
2015-02-20 00:49:34 +00:00
2013-03-06 03:23:52 +00:00
2013-09-10 01:57:28 +01:00
2015-02-20 00:49:35 +00:00