diff options
| author | Jaehoon Chung <[email protected]> | 2016-10-21 10:57:57 +0000 |
|---|---|---|
| committer | Ulf Hansson <[email protected]> | 2016-10-25 08:39:40 +0000 |
| commit | 45c7a4908a307a023e237a64a3eadcafc4836493 (patch) | |
| tree | 5b2d7e769f68865a6531fc2455ebf33345f25f01 /scripts/gcc-plugins/cyc_complexity_plugin.c | |
| parent | Linux 4.9-rc2 (diff) | |
| download | kernel-45c7a4908a307a023e237a64a3eadcafc4836493.tar.gz kernel-45c7a4908a307a023e237a64a3eadcafc4836493.zip | |
mmc: dw_mmc-pltfm: fix the potential NULL pointer dereference
platform_get_resource can be returned the NULL pointer.
Then regs->start should be referred to NULL Pointer.
devm_ioremap_resource() checks whether res is NULL or not.
Signed-off-by: Jaehoon Chung <[email protected]>
Reviewed-by: Shawn Lin <[email protected]>
Cc: [email protected]
Signed-off-by: Ulf Hansson <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions
