diff options
author | Krzysztof Kozlowski <[email protected]> | 2020-12-07 20:05:15 +0100 |
---|---|---|
committer | Krzysztof Kozlowski <[email protected]> | 2021-01-03 17:02:56 +0100 |
commit | 4561560dfb4f847a0b327d48bdd1f45bf1b6261f (patch) | |
tree | b3e9e53d63e4ce5dfd719a0ef5e1d48e0df3cef8 /net/unix/unix_bpf.c | |
parent | 0458b88267c637fb872b0359da9ff0b243081e9e (diff) |
soc: samsung: exynos-asv: handle reading revision register error
If regmap_read() fails, the product_id local variable will contain
random value from the stack. Do not try to parse such value and fail
the ASV driver probe.
Fixes: 5ea428595cc5 ("soc: samsung: Add Exynos Adaptive Supply Voltage driver")
Cc: <[email protected]>
Signed-off-by: Krzysztof Kozlowski <[email protected]>
Reviewed-by: Pankaj Dubey <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'net/unix/unix_bpf.c')
0 files changed, 0 insertions, 0 deletions