Skip to contentSkip to conversation

drm/rockchip: fix for mailbox read validation.

PATCH In review Damian Kos 2 participants 2 messages Nov 19, 2018 – Jan 28, 2019

Subsystems (4)
lore
Share & tools
lore

Damian Kos

author
#0 lore raw

PATCH 1/1 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.

---
 drivers/gpu/drm/rockchip/cdn-dp-reg.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/rockchip/cdn-dp-reg.c +1 -1
index 5a485489a1e2..6c8b14fb1d2f 100644
@@ -113,7 +113,7 @@ static int cdp_dp_mailbox_write(struct cdn_dp_device *dp, u8 val)
 
 static int cdn_dp_mailbox_validate_receive(struct cdn_dp_device *dp,
 					   u8 module_id, u8 opcode,
-					   u8 req_size)
+					   u16 req_size)
 {
 	u32 mbox_size, i;
 	u8 header[4];
Signature · 1 line
2.17.1
maintainer
#1 lore raw

Am Montag, 19. November 2018, 16:14:14 CET schrieb Damian Kos:

Quoted 7 lines

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.

forgot that patch in my inbox somehow ... applied to drm-misc-next now

Thanks
Heiko

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel