]> git.baikalelectronics.ru Git - kernel.git/commit
mmc: sdhci-s3c: fix potential NULL dereference
authorJaehoon Chung <jh80.chung@samsung.com>
Wed, 12 Oct 2011 04:14:29 +0000 (13:14 +0900)
committerChris Ball <cjb@laptop.org>
Wed, 26 Oct 2011 20:32:22 +0000 (16:32 -0400)
commit729023a588937ff090523f94867b0351e1074b8c
tree5ca2a03185d9e85a531585201c61fb2ede0100fe
parentcc69d8aadd194b4d754ff3f44c0ea7f2d05de638
mmc: sdhci-s3c: fix potential NULL dereference

sc->clk_bus[ptr] could be NULL.

Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Chris Ball <cjb@laptop.org>
drivers/mmc/host/sdhci-s3c.c