From: Andre Guedes Date: Mon, 24 Mar 2014 19:08:48 +0000 (-0300) Subject: Bluetooth: Use memdup_user in le_auto_conn_write() X-Git-Tag: omap-for-v3.16/fixes-against-rc1~36^2~279^2^2~13^2~26 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4408dd15d9cfcf78b819d2d4a5b43dc36056cab8;p=pandora-kernel.git 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 Signed-off-by: Andre Guedes Signed-off-by: Marcel Holtmann --- Reading git-diff-tree failed