diff options
author | Jaehoon Chung <[email protected]> | 2016-10-21 19:57:57 +0900 |
---|---|---|
committer | Ulf Hansson <[email protected]> | 2016-10-25 10:39:40 +0200 |
commit | 45c7a4908a307a023e237a64a3eadcafc4836493 (patch) | |
tree | 5b2d7e769f68865a6531fc2455ebf33345f25f01 /tools/perf/scripts/python/bin/export-to-postgresql-report | |
parent | 07d9a380680d1c0eb51ef87ff2eab5c994949e69 (diff) |
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 'tools/perf/scripts/python/bin/export-to-postgresql-report')
0 files changed, 0 insertions, 0 deletions