Messages in this thread | | | Subject | Re: [PATCH 2/2] bluetooth: hci_bcsp.c small cleanups/api users | From | Marcel Holtmann <> | Date | Wed, 04 Jun 2008 08:53:44 +0200 |
| |
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@gmail.com>
Acked-by: Marcel Holtmann <marcel@holtmann.org>
Regards
Marcel
| |