omapdrm/dss/dsi.c:modify 'u32'->'int'
Subsystems (3)
PATCH 1/1 omapdrm/dss/dsi.c:modify 'u32'->'int'
From: tangchunyou <[email protected]>
1.the type of mipi_dsi_create_packet id int
2.u32 can not < 0
Signed-off-by tangchunyou <[email protected]>
--- drivers/gpu/drm/omapdrm/dss/dsi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/omapdrm/dss/dsi.c +1 -1
@@ -2149,7 +2149,7 @@ static int dsi_vc_send_short(struct dsi_data *dsi, int vc, const struct mipi_dsi_msg *msg) {struct mipi_dsi_packet pkt; -u32 r; +int r; r =mipi_dsi_create_packet (&pkt, msg);if (r <0 )
Signature · 1 line
1.9.1
Hi,
Quoted 16 lines · ChunyouTang
From: tangchunyou <[email protected]>
1.the type of
mipi_dsi_create_packetid int
2.u32 can not < 0Signed-off-by tangchunyou <[email protected]>--- drivers/gpu/drm/omapdrm/dss/dsi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/gpu/drm/omapdrm/dss/dsi.c +0
-0
drivers/gpu/drm/omapdrm/dss/dsi.c static int dsi_vc_send_short(struct dsi_data *dsi, int vc, · line 2155
Quoted 8 lines
drivers/gpu/drm/omapdrm/dss/dsi.c +1
-1@@ -2149,7 +2149,7 @@ static int dsi_vc_send_short(struct dsi_data *dsi, int vc, const struct mipi_dsi_msg *msg) {struct mipi_dsi_packet pkt; -u32 r; +int r; r =mipi_dsi_create_packet (&pkt, msg);if (r <0 )
I have already applies a similar patch "drm/omap: dsi: fix unsigned expression compared with zero".
Tomi
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel