Re: [PATCH v6 08/17] firmware: arm_scmi: Add priv parameter to scmi_rx_callback

From
Cristian Marussi <cristian.marussi@arm.com>
Date
2021-07-28 17:25:58
Also in
lkml
Reply to
Sudeep Holla, 2021-07-28
On Wed, Jul 28, 2021 at 03:26:25PM +0100, Sudeep Holla wrote:
On Mon, Jul 12, 2021 at 03:18:24PM +0100, Cristian Marussi wrote:
quoted
Add a new opaque void *priv parameter to scmi_rx_callback which can be
optionally provided by the transport layer when invoking scmi_rx_callback
and that will be passed back to the transport layer in xfer->priv.

This can be used by transports that needs to keep track of their specific
data structures together with the valid xfers.
Hi,
This change looks simple but doesn't make sense on its own. I assume you don't
want to add all these in the patch making use of priv which makes sense. Not
sure if the next patch uses it, but I prefer to keep them as close as possible
if it is not too much of a hassle.
Right, yes I'll move it close to 17/17 which is the actual user of this
at the end.

Thanks,
Cristian


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Thread (48 messages) 48 messages, 4 authors, last reply 2021-08-11
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help