ptp: reduce stack usage when reading external time stamps
authorRichard Cochran <richardcochran@gmail.com>
Mon, 26 Nov 2012 01:44:34 +0000 (01:44 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 26 Nov 2012 22:22:14 +0000 (17:22 -0500)
commitc7ec0badcc54508d3ab052bb425cc677521a89be
tree9f34a5b1194510dba1bb1ff8e294c5726391e2f3
parentcfd1979e81c72386cb4dad51a957d6f154f23525
ptp: reduce stack usage when reading external time stamps

This patch removes the large buffer from the stack of the read file
operation and replaces it with a kmalloced buffer.

Signed-off-by: Richard Cochran <richardcochran@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/ptp/ptp_chardev.c