diff options
author | Johan Hedberg <johan.hedberg@intel.com> | 2015-06-18 20:50:08 +0300 |
---|---|---|
committer | Johan Hedberg <johan.hedberg@intel.com> | 2015-06-18 21:00:06 +0300 |
commit | 39ecfad68f14b71b6d1917c27eb01c4936f88bda (patch) | |
tree | 66826df9fd312dd376e521a708e9c88d0acae542 /sound/isa | |
parent | 7e730c7f3d1f39c25cf5f7cf70c0ff4c28d7bec7 (diff) | |
download | op-kernel-dev-39ecfad68f14b71b6d1917c27eb01c4936f88bda.zip op-kernel-dev-39ecfad68f14b71b6d1917c27eb01c4936f88bda.tar.gz |
Bluetooth: Use zalloc when possible
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>
Diffstat (limited to 'sound/isa')
0 files changed, 0 insertions, 0 deletions