commit | 38316468aa587733241acac7f56eb430052c28b9 | [log] [tgz] |
---|---|---|
author | Spade Lee <[email protected]> | Wed Jun 19 08:00:07 2024 +0000 |
committer | Android Build Coastguard Worker <[email protected]> | Wed Dec 18 09:39:22 2024 -0800 |
tree | ad6a59a0a1ab0ef437c38fc6a470b2d381a5f467 | |
parent | eaa93f9e32a4b7600612b15899cca1a097744ea8 [diff] |
max_m5: add pointer validity check - add validity check before dereference pointer - fix wrongly register ->regmap_nvram.regmap if ->gauge_type = -1 Bug: 348083431 Test: build PASS, no kernel panic Signed-off-by: Spade Lee <[email protected]> (cherry picked from commit 99936e8ce0e0d2496f4832f953bdc2697982dfc6) (cherry picked from https://partner-android-review.googlesource.com/q/commit:e3cf2e9791c902d04a958a0a76f27a3a4239fb1e) Merged-In: Iee0dafec1a7e6286419056742075a6375e75cca0 Change-Id: Iee0dafec1a7e6286419056742075a6375e75cca0