]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: Fix two minor style issues in HCI code
authorMarcel Holtmann <marcel@holtmann.org>
Wed, 22 Feb 2012 11:06:43 +0000 (12:06 +0100)
committerJohan Hedberg <johan.hedberg@intel.com>
Thu, 23 Feb 2012 11:06:58 +0000 (13:06 +0200)
commitb2214c3521493979c998c2cac5f9009f5fbba458
tree4c1d390aecda10582685f9d8501eddb74a1327f6
parentbf6d192c0ee842c6f47d52ed0be43b556164a4da
Bluetooth: Fix two minor style issues in HCI code

WARNING: min() should probably be min_t(__u16, scb->expect, count)
+ len = min(scb->expect, (__u16)count);

WARNING: Statements terminations use 1 semicolon
+ INIT_LIST_HEAD(&conn->chan_list);;

Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
net/bluetooth/hci_conn.c
net/bluetooth/hci_core.c