commit | f563dab41733c0e73202a8a5977b441715dc9946 | [log] [tgz] |
---|---|---|
author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Wed Apr 26 11:43:39 2017 +0200 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Wed Apr 26 11:43:39 2017 +0200 |
tree | a978195ff9d0302f623990bbb7f2e677b0cfeeb7 | |
parent | 726ea1a8ea96b2bba34ee2073b58f0770800701c [diff] |
goldfish_pipe: fix build warning about using too much stack. The new goldfish_pipe code used too much stack space in the transfer_max_buffers() call. As the function is serialized with a lock, let's make the buffer static to not use the stack for the large buffer. Reported-by: kbuild test robot <fengguang.wu@intel.com> Cc: Yurii Zubrytskyi <zyy@google.com> Cc: Jin Qian <jinqian@android.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>