commit | fca20018e7b86a8716511c7681115baa47aca8e4 | [log] [tgz] |
---|---|---|
author | Johan Hedberg <johan.hedberg@intel.com> | Sat Jun 28 17:54:05 2014 +0300 |
committer | Marcel Holtmann <marcel@holtmann.org> | Thu Jul 03 17:42:48 2014 +0200 |
tree | cac4df3860e49ac5448197482e730d8c8da0ec22 | |
parent | 730f091b056524df2cb1c5f345f2d24e44236c19 [diff] |
Bluetooth: Use kzalloc instead of kmalloc for pending mgmt commands By using kzalloc we ensure that there are no struct members, such as the user_data pointer, left uninitialized. Signed-off-by: Johan Hedberg <johan.hedberg@intel.com> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>