From: Johan Hedberg Date: Thu, 18 Jun 2015 17:50:08 +0000 (+0300) Subject: Bluetooth: Use zalloc when possible X-Git-Tag: omap-for-v4.2/fixes-rc1^2~134^2~29^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=39ecfad68f14b71b6d1917c27eb01c4936f88bda;p=pandora-kernel.git 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 Signed-off-by: Marcel Holtmann --- Reading git-diff-tree failed