commit | d7237e22bbcffc3237a234fdf165fde4c2b0a22d | [log] [tgz] |
---|---|---|
author | Jon Mason <jon.mason@intel.com> | Sat Jan 19 02:02:25 2013 -0700 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Sun Jan 20 15:45:51 2013 -0800 |
tree | 6e8eedf9be954585dd4da0dea6b1e6c958d121d6 | |
parent | f766755c3057c36dc0796d2b0c633611dde6eccf [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>