Thread (7 messages) flat view 7 messages, 3 authors, 2016-10-19

RE: [RFC PATCH 2/3] powerpc/pseries: Define & use a type for the plpar_hcall() retvals

From: David Laight <hidden>
Date: 2016-10-19 15:06:06

From: Balbir Singh
Sent: 19 October 2016 15:00
...
Here is an example
=20
-	*slot =3D retbuf[0];
+	*slot =3D retvals.v[0];
=20
Could we hide retvals.v[0] under a macro like
=20
*slot =3D hcalls_ret_val(retvals, 0);
Ugg..
Since we could end up with similar issues if
someone dereferenced retvals.v[4]
The compiler will detect that these days.

	David
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help