summaryrefslogtreecommitdiffstats
path: root/drivers/powercap
diff options
context:
space:
mode:
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>2014-01-07 21:11:25 +0800
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>2014-01-07 09:59:52 -0500
commitbe1403b9e66bea9d64db9198256cb27532a870b1 (patch)
treea205a5df7b764db92d10c29fb5ebd9cd368bf22e /drivers/powercap
parent89b9e08f186a203c250872a663c9eab09cdc583a (diff)
downloadlinux-be1403b9e66bea9d64db9198256cb27532a870b1.tar.bz2
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 <yongjun_wei@trendmicro.com.cn> Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> Reviewed-by: David Vrabel <david.vrabel@citrix.com>
Diffstat (limited to 'drivers/powercap')
0 files changed, 0 insertions, 0 deletions