Re: [PATCH] mfd: twl: endian fixups in i2c write and read wrappers.

From: Lee Jones
Date: Wed Oct 16 2019 - 05:59:00 EST


On Sun, 13 Oct 2019, jic23@xxxxxxxxxx wrote:

> From: Jonathan Cameron <Jonathan.Cameron@xxxxxxxxxx>
>
> Use a local variable to ensure correct endian types for
> intermediate results.
>
> Identified by sparse when building the IIO driver.
>
> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@xxxxxxxxxx>
> Cc: Lee Jones <lee.jones@xxxxxxxxxx>
> ---
> include/linux/mfd/twl.h | 12 ++++++++----
> 1 file changed, 8 insertions(+), 4 deletions(-)

Applied, thanks.

--
Lee Jones [æçæ]
Linaro Services Technical Lead
Linaro.org â Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog