Re: [PATCH] mfd: si476x: Use get_unaligned_be16() for unaligned be16loads

From: Samuel Ortiz
Date: Thu May 16 2013 - 18:15:52 EST


Hi Geert,

On Thu, May 09, 2013 at 02:01:05PM +0200, Geert Uytterhoeven wrote:
> Loading be16 values from byte buffers may cause unaligned accesses, so use
> get_unaligned_be16() to avoid problems on architectures that do not support
> these.
>
> Signed-off-by: Geert Uytterhoeven <geert@xxxxxxxxxxxxxx>
> ---
> drivers/mfd/si476x-cmd.c | 28 +++++++++++++++-------------
> 1 files changed, 15 insertions(+), 13 deletions(-)
Applied to mfd-fixes, thanks.

Cheers,
Samuel.

--
Intel Open Source Technology Centre
http://oss.intel.com/
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/