Geert Uytterhoeven
13a6a2ed1f
mmc: tmio: Remove bogus un-initialization in tmio_mmc_host_free()
...
If CONFIG_DEBUG_SLAB=y:
sh_mobile_sdhi ee100000.sd: Got CD GPIO
sh_mobile_sdhi ee100000.sd: Got WP GPIO
platform ee100000.sd: Driver sh_mobile_sdhi requests probe deferral
...
Slab corruption (Not tainted): kmalloc-1024 start=ed8b3c00, len=1024
2d0: 00 00 00 00 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b ....kkkkkkkkkkkk
Prev obj: start=ed8b3800, len=1024
000: 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b kkkkkkkkkkkkkkkk
010: 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b kkkkkkkkkkkkkkkk
Struct tmio_mmc_host is embedded inside struct mmc_host, and thus is
freed by the call to mmc_free_host(). Hence it must not be written to
afterwards, as that will corrupt freed (and perhaps already reused)
memory.
Fixes: 94b110aff8679b14 ("mmc: tmio: add tmio_mmc_host_alloc/free()")
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
2015-03-23 14:13:38 +01:00
..
2013-05-26 14:23:23 -04:00
2012-10-03 10:05:23 -04:00
2014-12-13 00:44:11 +01:00
2014-10-20 16:20:56 +02:00
2013-10-30 20:26:36 -04:00
2013-10-30 20:26:37 -04:00
2013-06-27 11:13:02 -04:00
2014-10-20 16:20:56 +02:00
2015-03-23 14:13:38 +01:00
2015-03-23 14:13:28 +01:00
2014-03-03 14:00:56 -05:00
2014-09-09 13:59:05 +02:00
2014-11-26 14:31:03 +01:00
2012-11-28 12:28:18 -08:00
2015-03-23 14:13:28 +01:00
2015-03-23 14:13:38 +01:00
2015-03-23 14:13:28 +01:00
2014-09-09 13:59:04 +02:00
2015-01-30 11:44:42 +01:00
2015-01-20 09:32:37 +01:00
2014-09-23 09:01:36 +02:00
2014-09-09 13:58:46 +02:00
2014-09-09 13:58:46 +02:00
2015-01-28 12:32:18 +01:00
2014-07-09 11:25:57 +02:00
2015-02-04 09:42:29 +01:00
2014-11-10 12:40:34 +01:00
2015-01-19 09:56:21 +01:00
2014-11-10 12:40:25 +01:00
2015-01-19 09:56:10 +01:00
2013-08-24 23:45:22 -04:00
2015-03-23 14:13:37 +01:00
2014-09-09 13:59:04 +02:00
2014-09-09 13:59:24 +02:00
2015-01-21 13:58:44 +01:00
2014-09-24 11:20:16 +02:00
2014-09-24 10:13:09 +02:00
2014-07-09 11:26:13 +02:00
2015-01-21 12:33:43 +01:00
2015-01-19 09:56:28 +01:00
2015-03-23 14:13:35 +01:00
2015-03-23 14:13:35 +01:00
2015-03-23 14:13:35 +01:00
2015-03-23 14:13:35 +01:00
2015-01-19 09:56:22 +01:00
2014-05-22 07:26:32 -04:00
2014-12-08 09:21:06 +01:00
2015-03-23 14:13:34 +01:00
2015-03-23 14:13:35 +01:00
2015-03-23 14:13:35 +01:00
2012-01-11 23:58:47 -05:00
2014-11-10 12:40:25 +01:00
2014-05-22 08:40:44 -04:00
2015-01-19 09:56:22 +01:00
2015-01-12 10:14:58 +01:00
2015-03-23 14:13:34 +01:00
2014-01-13 12:48:06 -05:00
2014-11-10 12:40:30 +01:00
2015-01-29 13:08:46 +01:00
2013-04-19 13:51:23 +02:00
2015-02-04 13:39:14 +01:00
2015-03-23 14:13:35 +01:00
2014-09-09 13:59:04 +02:00
2015-03-23 14:13:35 +01:00
2015-03-23 14:13:35 +01:00
2015-01-29 11:28:06 +01:00
2015-01-20 09:29:16 +01:00
2013-10-30 20:28:32 -04:00
2014-09-09 13:59:04 +02:00
2015-01-20 10:24:36 +01:00
2015-03-23 14:13:35 +01:00
2014-09-24 10:13:09 +02:00
2015-01-20 10:24:36 +01:00
2015-03-23 14:13:38 +01:00
2015-01-20 10:22:48 +01:00
2015-01-20 10:23:31 +01:00
2015-01-19 09:56:07 +01:00
2014-11-26 14:30:58 +01:00
2014-10-20 16:20:56 +02:00
2014-02-25 15:42:20 -05:00
2013-10-30 20:28:36 -04:00
2015-01-21 12:02:05 +01:00
2014-10-20 16:20:56 +02:00
2014-10-20 16:20:56 +02:00