mirror of
https://github.com/torvalds/linux.git
synced 2026-11-30 18:42:21 +00:00
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 [[email protected]: select CONFIG_BITREVERSE, noted by [email protected]] Signed-off-by: Harvey Harrison <[email protected]> Acked-by: Marcel Holtmann <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: David S. Miller <[email protected]>