projects
/
profile
/
ivi
/
kernel-x86-ivi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cb601d7
)
Bluetooth: Use GFP_KERNEL in hci_chan_create()
author
Andre Guedes
<andre.guedes@openbossa.org>
Mon, 30 Jan 2012 12:22:10 +0000
(09:22 -0300)
committer
Johan Hedberg
<johan.hedberg@intel.com>
Mon, 13 Feb 2012 15:01:30 +0000
(17:01 +0200)
This function is called in process context only, so it should use
GFP_KERNEL to allocate memory.
Signed-off-by: Andre Guedes <andre.guedes@openbossa.org>
Acked-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
net/bluetooth/hci_conn.c
patch
|
blob
|
history
diff --git
a/net/bluetooth/hci_conn.c
b/net/bluetooth/hci_conn.c
index
9ec7b8e
..
7b38a0b
100644
(file)
--- a/
net/bluetooth/hci_conn.c
+++ b/
net/bluetooth/hci_conn.c
@@
-945,7
+945,7
@@
struct hci_chan *hci_chan_create(struct hci_conn *conn)
BT_DBG("%s conn %p", hdev->name, conn);
- chan = kzalloc(sizeof(struct hci_chan), GFP_
ATOMIC
);
+ chan = kzalloc(sizeof(struct hci_chan), GFP_
KERNEL
);
if (!chan)
return NULL;