From: Wei Yongjun Date: Tue, 7 Jan 2014 13:11:25 +0000 (+0800) Subject: xen/evtchn_fifo: fix error return code in evtchn_fifo_setup() X-Git-Tag: v3.14-rc1~126^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=be1403b9e66bea9d64db9198256cb27532a870b1;p=pandora-kernel.git xen/evtchn_fifo: fix error return code in evtchn_fifo_setup() Fix to return -ENOMEM from the error handling case instead of 0 (overwrited to 0 by the HYPERVISOR_event_channel_op call), otherwise the error condition cann't be reflected from the return value. Signed-off-by: Wei Yongjun Signed-off-by: Konrad Rzeszutek Wilk Reviewed-by: David Vrabel --- Reading git-diff-tree failed