Messages in this thread | | | Subject | Re: [PATCH v2] firmware: arm_scmi: Use {get,put}_unaligned_le{32,64} accessors | From | Philipp Zabel <> | Date | Thu, 08 Aug 2019 11:47:07 +0200 |
| |
On Wed, 2019-08-07 at 18:37 +0100, Sudeep Holla wrote: > Instead of type-casting the {tx,rx}.buf all over the place while > accessing them to read/write __le{32,64} from/to the firmware, let's > use the existing {get,put}_unaligned_le{32,64} accessors to hide all > the type cast ugliness. > > Suggested-by: Philipp Zabel <p.zabel@pengutronix.de> > Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
Reviewed-by: Philipp Zabel <p.zabel@pengutronix.de>
regards Philipp
| |