Re: [PATCH 2/2] bluetooth: hci_bcsp.c small cleanups/api users

From: Marcel Holtmann
Date: Wed Jun 04 2008 - 02:51:47 EST


Hi Harvey,

> Use bitrev16 from lib/bitrev.c.
>
> Use the get_unaligned_be16 to get the crc from the packet, create a
> small helper function for this.
>
> Fix a shadowed variable sparse warning:
> drivers/bluetooth/hci_bcsp.c:218:26: warning: symbol 'hdr' shadows an earlier one
> drivers/bluetooth/hci_bcsp.c:187:5: originally declared here
>
> Signed-off-by: Harvey Harrison <harvey.harrison@xxxxxxxxx>

Acked-by: Marcel Holtmann <marcel@xxxxxxxxxxxx>

Regards

Marcel


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