Re: [Xen-devel] xen/gntdev: add ioctl for grant copy

2016-01-14 Thread David Vrabel
On 13/01/16 19:56, Dan Carpenter wrote: > Hello David Vrabel, > > The patch a4cdb556cae0: "xen/gntdev: add ioctl for grant copy" from > Dec 2, 2014, leads to the following static checker warning: > > drivers/xen/gntdev.c:775 gntdev_get_page() > warn: mask and shift to zero > >

Re: [Xen-devel] xen/gntdev: add ioctl for grant copy

2016-01-13 Thread Dan Carpenter
Hello David Vrabel, The patch a4cdb556cae0: "xen/gntdev: add ioctl for grant copy" from Dec 2, 2014, leads to the following static checker warning: drivers/xen/gntdev.c:775 gntdev_get_page() warn: mask and shift to zero drivers/xen/gntdev.c 761 static int