aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/bluetooth/l2cap.h
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2012-02-28 09:57:59 +0300
committerJohan Hedberg <johan.hedberg@intel.com>2012-02-29 16:19:37 +0200
commit89bb46d02046b59c1de3d2e92680f3a1062750d0 (patch)
treedd56173e9835912f91c86e4837b1e9df9c5b30dd /include/net/bluetooth/l2cap.h
parentBluetooth: use kfree_skb() instead of kfree() (diff)
downloadlinux-dev-89bb46d02046b59c1de3d2e92680f3a1062750d0.tar.xz
linux-dev-89bb46d02046b59c1de3d2e92680f3a1062750d0.zip
Bluetooth: change min_t() cast in hci_reassembly()
"count" is type int so the cast to __u16 truncates the high bits away and triggers a Smatch static checker warning. It looks like a high value of count could cause a forever loop, but I didn't follow it through to see if count is capped somewhere. Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Acked-by: Marcel Holtmann <marcel@holtmann.org> Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Diffstat (limited to 'include/net/bluetooth/l2cap.h')
0 files changed, 0 insertions, 0 deletions