Re: [PATCH 2/2] xen: fix error handling

2014-03-19 Thread Samuel Thibault
Justus Winter, le Wed 19 Mar 2014 16:13:13 +0100, a écrit : > Previously, the error KERN_RESOURCE_SHORTAGE was not properly > propagated. > > Found using the Clang Static Analyzer. Ack. > * xen/block.c (device_open): Fix error handling, remove unused label. > * xen/net.c (device_open): Likewise.

[PATCH 2/2] xen: fix error handling

2014-03-19 Thread Justus Winter
Previously, the error KERN_RESOURCE_SHORTAGE was not properly propagated. Found using the Clang Static Analyzer. * xen/block.c (device_open): Fix error handling, remove unused label. * xen/net.c (device_open): Likewise. --- xen/block.c | 5 ++--- xen/net.c | 5 ++--- 2 files changed, 4 inserti