commit | 54495394fdcd400355f62f67e188aa11c84cd433 | [log] [tgz] |
---|---|---|
author | Liam Mark <lmark@codeaurora.org> | Wed Jun 06 14:16:27 2018 -0700 |
committer | Prakash Gupta <guptap@codeaurora.org> | Mon Jun 18 19:41:41 2018 +0530 |
tree | 5d03110bf50172bc8c73aee2c8b30f700aad182d | |
parent | 63098a4ec6538db624be9cf01265464e0d791bbb [diff] |
drivers: qcom: cmd-db: Initialize resource name Resource name must be initialized otherwise it will contain a garbage value which will cause a crash when it is dereferenced, such as when a user calls 'cat /proc/iomem'. Initialize to name to NULL and let the devm_ioremap_resource call assign the device name as the name. Change-Id: I4667a288bc6dcf68aeb46c62fc4be86788fd8887 Signed-off-by: Liam Mark <lmark@codeaurora.org>