diff options
author | Jan Beulich <JBeulich@suse.com> | 2012-04-02 15:32:22 +0100 |
---|---|---|
committer | Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> | 2012-04-06 12:13:55 -0400 |
commit | 0ee46eca0476faf0e93c1387b1597b861b79711f (patch) | |
tree | 43a775087c3170e4a660ae3f8ad8c20b43c5322e /drivers/regulator/tps65912-regulator.c | |
parent | e8c9e788f493d3236809e955c9fc12625a461e09 (diff) |
xen/pciback: fix XEN_PCI_OP_enable_msix result
Prior to 2.6.19 and as of 2.6.31, pci_enable_msix() can return a
positive value to indicate the number of vectors (less than the amount
requested) that can be set up for a given device. Returning this as an
operation value (secondary result) is fine, but (primary) operation
results are expected to be negative (error) or zero (success) according
to the protocol. With the frontend fixed to match the XenoLinux
behavior, the backend can now validly return zero (success) here,
passing the upper limit on the number of vectors in op->value.
Signed-off-by: Jan Beulich <jbeulich@suse.com>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Diffstat (limited to 'drivers/regulator/tps65912-regulator.c')
0 files changed, 0 insertions, 0 deletions