]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit78f4a8324e16095149a1f0ea78ca6e6966092fb1
tree9f34a5b1194510dba1bb1ff8e294c5726391e2f3
parent430427802dce3733b149fa77141a16c44f38994b
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