drm/rockchip: fix for mailbox read validation.
authorDamian Kos <dkos@cadence.com>
Mon, 19 Nov 2018 15:14:14 +0000 (15:14 +0000)
committerHeiko Stuebner <heiko@sntech.de>
Mon, 28 Jan 2019 10:10:44 +0000 (11:10 +0100)
commite4056bbb6719fe713bfc4030ac78e8e97ddf7574
tree0d74d31bde72ffda6ab7622166e268e8ba4b1a4d
parentce6912b4074d11f567cef33d59d98dd4032bd94e
drm/rockchip: fix for mailbox read validation.

This is basically the same fix as in
commit fa68d4f8476b ("drm/rockchip: fix for mailbox read size")
but for cdn_dp_mailbox_validate_receive function.

See patchwork.kernel.org/patch/10671981/ for details.

Signed-off-by: Damian Kos <dkos@cadence.com>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Link: https://patchwork.freedesktop.org/patch/msgid/1542640463-18332-1-git-send-email-dkos@cadence.com
drivers/gpu/drm/rockchip/cdn-dp-reg.c