git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7e730c7
)
Bluetooth: Use zalloc when possible
author
Johan Hedberg
<johan.hedberg@intel.com>
Thu, 18 Jun 2015 17:50:08 +0000
(20:50 +0300)
committer
Johan Hedberg
<johan.hedberg@intel.com>
Thu, 18 Jun 2015 18:00:06 +0000
(21:00 +0300)
Use zallog for adv_instance allocation instead of kmalloc + memset.
This also fixes the following coccinelle warning:
>> net/bluetooth/hci_core.c:2693:17-24: WARNING: kzalloc should be
used for adv_instance, instead of kmalloc/memset
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
net/bluetooth/hci_core.c
patch
|
blob
|
history
diff --cc
net/bluetooth/hci_core.c
Simple merge