summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/cache
diff options
context:
space:
mode:
authorJohan Hovold <johan+linaro@kernel.org>2023-11-09 12:31:00 +0300
committerBjorn Andersson <andersson@kernel.org>2023-12-07 19:19:19 +0300
commitc4fb7d2eac9ff9bfc35a2e4d40c7169a332416e0 (patch)
treec00a736adc4b9266e8503481fb1dd3a5932d85a1 /Documentation/devicetree/bindings/cache
parent7a280fec21fa4ca313e7aa6708f2480757501053 (diff)
downloadlinux-c4fb7d2eac9ff9bfc35a2e4d40c7169a332416e0.tar.xz
soc: qcom: pmic_glink_altmode: fix port sanity check
The PMIC GLINK altmode driver currently supports at most two ports. Fix the incomplete port sanity check on notifications to avoid accessing and corrupting memory beyond the port array if we ever get a notification for an unsupported port. Fixes: 080b4e24852b ("soc: qcom: pmic_glink: Introduce altmode support") Cc: stable@vger.kernel.org # 6.3 Signed-off-by: Johan Hovold <johan+linaro@kernel.org> Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org> Link: https://lore.kernel.org/r/20231109093100.19971-1-johan+linaro@kernel.org Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Diffstat (limited to 'Documentation/devicetree/bindings/cache')
0 files changed, 0 insertions, 0 deletions