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

Skip to content
Commit b77dd423 authored by Xu Kai's avatar Xu Kai
Browse files

msm: fix incorrect termination of struct of_device_id arrays



qpnp-power-on.c and qpnp-usbdetect.c didn't correctly NULL-terminate
their devicetree match tables. This would result in of_dev_lookup()
running off the end of the array and looking at bogus data. Now fix
this kind of incorrect termination.

CRs-fixed: 582126
Change-Id: I44e9742af78614bd630e7d3e95dbf9f6bffc8955
Signed-off-by: default avatarXu Kai <kaixu@codeaurora.org>
parent 2c8ba2e7
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