Re: [bug report] x86/xen: open code alloc_vm_area in arch_gnttab_valloc

2020-09-24 Thread Christoph Hellwig
On Thu, Sep 24, 2020 at 11:50:44AM +0300, Dan Carpenter wrote: > Hello Christoph Hellwig, > > The patch a0e7ac6b4907: "x86/xen: open code alloc_vm_area in > arch_gnttab_valloc" from Sep 23, 2020, leads to the following static > checker warning: > > arch/x86/xen/grant-table.c:110 arch_gnttab

[bug report] x86/xen: open code alloc_vm_area in arch_gnttab_valloc

2020-09-24 Thread Dan Carpenter
Hello Christoph Hellwig, The patch a0e7ac6b4907: "x86/xen: open code alloc_vm_area in arch_gnttab_valloc" from Sep 23, 2020, leads to the following static checker warning: arch/x86/xen/grant-table.c:110 arch_gnttab_valloc() warn: did you mean to pass the address of 'area->ptes' a