dri-devel.lists.freedesktop.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 2/2] Use char * for struct drm_dp_aux_msg's buffer
@ 2018-05-21 23:36 Maya Rashish
  2018-05-22  8:33 ` Jani Nikula
  0 siblings, 1 reply; 6+ messages in thread
From: Maya Rashish @ 2018-05-21 23:36 UTC (permalink / raw)
  To: dri-devel

In drm_dp_i2c_drain_msg we do msg.buffer += err which isn't
legal for void *.
---
 include/drm/drm_dp_helper.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/drm/drm_dp_helper.h b/include/drm/drm_dp_helper.h
index 62903bae..06f9a61f 100644
--- a/include/drm/drm_dp_helper.h
+++ b/include/drm/drm_dp_helper.h
@@ -1058,7 +1058,7 @@ struct drm_dp_aux_msg {
 	unsigned int address;
 	u8 request;
 	u8 reply;
-	void *buffer;
+	char *buffer;
 	size_t size;
 };
 
-- 
2.17.0

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2018-05-24  8:13 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-05-21 23:36 [PATCH 2/2] Use char * for struct drm_dp_aux_msg's buffer Maya Rashish
2018-05-22  8:33 ` Jani Nikula
2018-05-23  9:09   ` Daniel Vetter
2018-05-23  9:56     ` Jani Nikula
2018-05-24  8:12       ` Daniel Vetter
2018-05-23 10:09     ` coypu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).