]> www.infradead.org Git - users/jedix/linux-maple.git/commit
Drivers: hv: fcopy: dynamically allocate smsg_out in fcopy_send_data()
authorVitaly Kuznetsov <vkuznets@redhat.com>
Sat, 1 Aug 2015 23:08:12 +0000 (16:08 -0700)
committerJack Vogel <jack.vogel@oracle.com>
Wed, 31 May 2017 02:46:26 +0000 (19:46 -0700)
commit6fd4b6e1e2c19a919af728d66a00911541831bfc
tree9784fc83278a4adbd45d3aa25e1d7d38ff62a7fe
parent088b1045c684174c66ed442f6a92687805133059
Drivers: hv: fcopy: dynamically allocate smsg_out in fcopy_send_data()

struct hv_start_fcopy is too big to be on stack on i386, the following
warning is reported:

>> drivers/hv/hv_fcopy.c:159:1: warning: the frame size of 1088 bytes is larger than 1024 bytes [-Wframe-larger-than=]

Reported-by: kbuild test robot <fengguang.wu@intel.com>
Signed-off-by: Vitaly Kuznetsov <vkuznets@redhat.com>
Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Orabug: 25970637
(cherry picked from commit 25ef06fe27a292ad33155045ef7a123be4c0b6ab)
Signed-off-by: Jack Vogel <jack.vogel@oracle.com>
drivers/hv/hv_fcopy.c