lkml.org 
[lkml]   [2008]   [Jun]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH 2/2] bluetooth: hci_bcsp.c small cleanups/api users
From
Date
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




\
 
 \ /
  Last update: 2008-06-04 08:53    [W:0.043 / U:0.792 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site