summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJon Mason <jon.mason@intel.com>2013-01-19 02:02:25 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-01-20 15:45:51 -0800
commitd7237e22bbcffc3237a234fdf165fde4c2b0a22d (patch)
tree6e8eedf9be954585dd4da0dea6b1e6c958d121d6 /include
parentf766755c3057c36dc0796d2b0c633611dde6eccf (diff)
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 <jon.mason@intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions