linux/drivers/xen/xenbus
Pan Bian 2466d4b9d0 xen: xenbus: set error code on failure
Variable err is initialized with 0. As a result, the return value may
be 0 even if get_zeroed_page() fails to allocate memory. This patch fixes
the bug, initializing err with "-ENOMEM".

Signed-off-by: Pan Bian <bianpan2016@163.com>
Reviewed-by: Juergen Gross <jgross@suse.com>
Signed-off-by: Juergen Gross <jgross@suse.com>
2016-12-08 07:53:57 +01:00
..
Makefile xen: Add xenbus_backend device 2011-12-16 13:29:41 -05:00
xenbus_client.c xenbus: Support multiple grants ring with 64KB 2015-10-23 14:20:47 +01:00
xenbus_comms.c xenbus: use virt_xxx barriers 2016-01-12 20:47:03 +02:00
xenbus_comms.h xenbus: save xenstore local status for later use 2013-05-29 09:04:20 -04:00
xenbus_dev_backend.c drivers/xen: make xenbus_dev_[front/back]end explicitly non-modular 2016-03-21 15:13:55 +00:00
xenbus_dev_frontend.c xen: fixes for 4.9-rc2 2016-10-24 19:52:24 -07:00
xenbus_probe.c xen: xenbus: set error code on failure 2016-12-08 07:53:57 +01:00
xenbus_probe.h xen: remove DEFINE_XENBUS_DRIVER() macro 2014-10-06 10:27:57 +01:00
xenbus_probe_backend.c xen: make use of xenbus_read_unsigned() in xenbus 2016-11-07 13:55:36 +01:00
xenbus_probe_frontend.c xenbus: check return value of xenbus_scanf() 2016-10-24 16:08:21 +01:00
xenbus_xs.c xen: make use of xenbus_read_unsigned() in xenbus 2016-11-07 13:55:36 +01:00