From: Jon Mason Date: Sat, 19 Jan 2013 09:02:25 +0000 (-0700) Subject: NTB: correct stack usage warning in debugfs_read X-Git-Tag: v3.9-rc1~124^2~47 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d7237e22bbcffc3237a234fdf165fde4c2b0a22d;p=pandora-kernel.git NTB: correct stack usage warning in debugfs_read Correct gcc warning of using too much stack debugfs_read. This is done by kmallocing the buffer instead of using the char array on stack. Also, shrinking the buffer to something closer to what is currently being used. Signed-off-by: Jon Mason Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed