diff options
author | Jan Beulich <JBeulich@novell.com> | 2011-08-17 09:32:32 +0100 |
---|---|---|
committer | Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> | 2011-08-26 12:10:18 -0400 |
commit | 12e13ac84ca70e6641a4750e9317aa2d2c1f6f50 (patch) | |
tree | f9de32ed820ec931de951dc101b73c5f0fc11ba5 /drivers/net/skfp/cfm.c | |
parent | 61ca79831ce52c23b3a130f3c2351751e00e0ac9 (diff) |
xen/pci: make bus notifier handler return sane values
Notifier functions are expected to return NOTIFY_* codes, not -E...
ones. In particular, since the respective hypercalls failing is not
fatal to the operation of the Dom0 kernel, it must be avoided to
return negative values here as those would make it appear as if
NOTIFY_STOP_MASK wa set, suppressing further notification calls to
other interested parties (which is also why we don't want to use
notifier_from_errno() here).
While at it, also notify the user of a failed hypercall.
Signed-off-by: Jan Beulich <jbeulich@novell.com>
[v1: Added dev_err and the disable MSI/MSI-X call]
[v2: Removed the disable MSI/MSI-X call]
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Diffstat (limited to 'drivers/net/skfp/cfm.c')
0 files changed, 0 insertions, 0 deletions