Re: [PATCH] Bluetooth: Silence static checker warning.

From: Dan Carpenter
Date: Wed Feb 29 2012 - 15:25:10 EST


On Wed, Feb 29, 2012 at 10:36:57PM +0530, santosh nayak wrote:
> From: Santosh Nayak <santoshprasadnayak@xxxxxxxxx>
>
> Silencing Static checker warning.
> 1. Endian warning

It's not an endian warning, it's an endian bug. This code won't
work on big endian systems. Don't mix bugfixes and other changes.

Probably at some point someone will be updating their kernel for
an embedded platform and they'll do a "git log --pretty=oneline" and
they'll notice your endian fix and decide it's super important to
them. Right now it's hard to find.

regards,
dan carpenter

Attachment: signature.asc
Description: Digital signature