diff options
author | 2014-03-24 16:08:48 -0300 | |
---|---|---|
committer | 2014-03-26 09:31:34 -0700 | |
commit | 4408dd15d9cfcf78b819d2d4a5b43dc36056cab8 (patch) | |
tree | 6a2f1035ceec0615cb8688b120aa58812e229853 /net/bluetooth/lib.c | |
parent | Bluetooth: Refactor advertising report processing into its own function (diff) | |
download | wireguard-linux-4408dd15d9cfcf78b819d2d4a5b43dc36056cab8.tar.xz wireguard-linux-4408dd15d9cfcf78b819d2d4a5b43dc36056cab8.zip |
Bluetooth: Use memdup_user in le_auto_conn_write()
This patch does a small code simplification replacing the tipical
kmalloc-copy_from_user sequence by memdup_user() helper.
Cc: Fengguang Wu <fengguang.wu@intel.com>
Signed-off-by: Andre Guedes <andre.guedes@openbossa.org>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'net/bluetooth/lib.c')
0 files changed, 0 insertions, 0 deletions