linux/net/bluetooth
Dan Carpenter 89bb46d020 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>
2012-02-29 16:19:37 +02:00
..
bnep Bluetooth: Use kernel int types instead of ones from stdint.h 2012-02-27 12:34:39 +02:00
cmtp Bluetooth: Use kernel int types instead of ones from stdint.h 2012-02-27 12:34:39 +02:00
hidp Bluetooth: Use kernel int types instead of ones from stdint.h 2012-02-27 12:34:39 +02:00
rfcomm Bluetooth: Fix RFCOMM session reference counting issue 2012-02-13 17:01:31 +02:00
af_bluetooth.c Bluetooth: silence lockdep warning 2012-02-13 17:01:29 +02:00
hci_conn.c Bluetooth: Fix two minor style issues in HCI code 2012-02-23 13:06:58 +02:00
hci_core.c Bluetooth: change min_t() cast in hci_reassembly() 2012-02-29 16:19:37 +02:00
hci_event.c Bluetooth: Use LMP_HOST_SSP define instead of magic values 2012-02-28 02:30:00 +02:00
hci_sock.c Bluetooth: Enable timestamps for control channel 2012-02-23 13:06:59 +02:00
hci_sysfs.c Bluetooth: Use proper datatypes in release-callbacks 2012-02-13 17:01:38 +02:00
Kconfig Bluetooth: Always compile SCO and L2CAP in Bluetooth Core 2011-12-21 02:21:08 -02:00
l2cap_core.c Bluetooth: use kfree_skb() instead of kfree() 2012-02-29 16:18:03 +02:00
l2cap_sock.c Bluetooth: Remove socket lock check 2012-02-23 13:07:02 +02:00
lib.c Bluetooth: Add logging functions bt_info and bt_err 2012-02-17 11:33:17 +02:00
Makefile Bluetooth: Always compile SCO and L2CAP in Bluetooth Core 2011-12-21 02:21:08 -02:00
mgmt.c Bluetooth: Don't send unnecessary write_le_enable command 2012-02-28 01:52:34 +02:00
sco.c Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/padovan/bluetooth-next 2012-01-10 15:44:17 -05:00
smp.c Bluetooth: Add address type to mgmt_ev_auth_failed 2012-02-13 17:01:37 +02:00