Re: [PATCH] staging/iio/meter: fix the coding style problem

From: Dan Carpenter
Date: Mon Apr 30 2012 - 16:16:42 EST


On Mon, Apr 30, 2012 at 11:04:44PM +0300, Dan Carpenter wrote:
> On Tue, May 01, 2012 at 01:26:17AM +0600, joseph daniel wrote:
> >
> > Signed-off-by: joseph daniel <josephdanielwalter@xxxxxxxxx>
> > ---
> > Hi Lars,
> > Thanks for review. how about the below change?

Lar's review is the correct one. It's cleaner to use
get_unaligned_be32(). You'll need to include <asm/unaligned.h>

regards,
dan carpenter

--
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/