Messages in this thread | | | Subject | Re: [PATCH 1/1] xen/gntdev: kmalloc structure gntdev_copy_batch | From | Juergen Gross <> | Date | Mon, 9 May 2016 07:25:59 +0200 |
| |
On 07/05/16 10:17, Heinrich Schuchardt wrote: > Commit a4cdb556cae0 ("xen/gntdev: add ioctl for grant copy") > leads to a warning > xen/gntdev.c: In function ‘gntdev_ioctl_grant_copy’: > xen/gntdev.c:949:1: warning: the frame size of 1248 bytes > is larger than 1024 bytes [-Wframe-larger-than=] > > This can be avoided by using kmalloc instead of the stack. > > Testing requires CONFIG_XEN_GNTDEV. > > Fixes: a4cdb556cae0 ("xen/gntdev: add ioctl for grant copy") > Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Acked-by: Juergen Gross <jgross@suse.com>
| |