projects
/
GitHub
/
mt8127
/
android_kernel_alcatel_ttab.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Bluetooth: change min_t() cast in hci_reassembly()
[GitHub/mt8127/android_kernel_alcatel_ttab.git]
/
net
/
bluetooth
/
hci_core.c
diff --git
a/net/bluetooth/hci_core.c
b/net/bluetooth/hci_core.c
index e6cbb8a1f47dd61f8d220726aefbc18e9c2a2d15..db484a8e73649cedd60a952ab42af54a83a7f10d 100644
(file)
--- a/
net/bluetooth/hci_core.c
+++ b/
net/bluetooth/hci_core.c
@@
-1966,7
+1966,7
@@
static int hci_reassembly(struct hci_dev *hdev, int type, void *data,
while (count) {
scb = (void *) skb->cb;
- len = min_t(
__u16
, scb->expect, count);
+ len = min_t(
uint
, scb->expect, count);
memcpy(skb_put(skb, len), data, len);