Re: [Xen-devel] [PATCH] pvcalls-front: fix potential null dereference

2019-01-14 Thread Boris Ostrovsky
On 1/13/19 10:20 PM, Wen Yang wrote: > static checker warning: > drivers/xen/pvcalls-front.c:373 alloc_active_ring() > error: we previously assumed 'map->active.ring' could be null >(see line 357) > > drivers/xen/pvcalls-front.c > 351 static int alloc_active_ring(struct

[Xen-devel] [PATCH] pvcalls-front: fix potential null dereference

2019-01-13 Thread Wen Yang
static checker warning: drivers/xen/pvcalls-front.c:373 alloc_active_ring() error: we previously assumed 'map->active.ring' could be null (see line 357) drivers/xen/pvcalls-front.c 351 static int alloc_active_ring(struct sock_mapping *map) 352 { 353 void