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

2019-10-16 Thread Lee Jones
On Sun, 13 Oct 2019, ji...@kernel.org wrote: > From: Jonathan Cameron > > 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 > Cc: Lee Jones > --- > include/linux/mfd/twl.

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

2019-10-13 Thread jic23
From: Jonathan Cameron 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 Cc: Lee Jones --- include/linux/mfd/twl.h | 12 1 file changed, 8 insertions(+), 4 deletions(-)