Bluetooth: hidp: replace kzalloc/copy_from_user by memdup_user
authorFabian Frederick <fabf@skynet.be>
Fri, 14 Nov 2014 18:35:05 +0000 (19:35 +0100)
committerMarcel Holtmann <marcel@holtmann.org>
Sat, 15 Nov 2014 00:30:16 +0000 (01:30 +0100)
commita809eff11f81e2dcf1e792586ef70693c60d7dc8
tree64b569a699a83caf4ef36ed40f3db693792ddd96
parent2773b024229bab23ef36e198e0555630f74f23ef
Bluetooth: hidp: replace kzalloc/copy_from_user by memdup_user

use memdup_user for rd_data import.

Signed-off-by: Fabian Frederick <fabf@skynet.be>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
net/bluetooth/hidp/core.c