summaryrefslogtreecommitdiffstats
path: root/drivers/ptp/Kconfig
diff options
context:
space:
mode:
authorMuhammad Falak R Wani <falakreyaz@gmail.com>2016-05-20 14:21:02 +0200
committerDavid S. Miller <davem@davemloft.net>2016-05-23 23:05:30 +0200
commit2ece068e1b1d6e76ecd07e04b027013e931287ff (patch)
treeed65b8a1f79facfd32b90da59f7d32c1784723a1 /drivers/ptp/Kconfig
parentnet: hns: avoid null pointer dereference (diff)
downloadlinux-2ece068e1b1d6e76ecd07e04b027013e931287ff.tar.xz
linux-2ece068e1b1d6e76ecd07e04b027013e931287ff.zip
ptp: use memdup_user().
Use memdup_user to duplicate a memory region from user-space to kernel-space, instead of open coding using kmalloc & copy_from_user. Signed-off-by: Muhammad Falak R Wani <falakreyaz@gmail.com> Acked-by: Richard Cochran <richardcochran@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/ptp/Kconfig')
0 files changed, 0 insertions, 0 deletions