Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit c1864002 authored by Liam Mark's avatar Liam Mark
Browse files

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: default avatarLiam Mark <lmark@codeaurora.org>
parent f24738ce
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment