commit | 1d0243559497b9cab00099c49a5ba3222cd6576f | [log] [tgz] |
---|---|---|
author | Andrew Patterson <andrew.patterson@hp.com> | Mon Oct 12 13:14:10 2009 -0600 |
committer | Jesse Barnes <jbarnes@virtuousgeek.org> | Wed Nov 04 13:06:38 2009 -0800 |
tree | 36a0e7707770e5f97df28aa8ec0a92b7307d16aa | |
parent | cc5d153a0ca794e3781ef34c76f32ad3e991b13d [diff] |
PCI: use better error return values in aer_inject Replaced some error return values in aer_inject. Use -ENODEV when we can't find a device and -ENOTTY when the device does not support PCIe AER. Acked-by: Huang Ying <ying.huang@intel.com> Signed-off-by: Andrew Patterson <andrew.patterson@hp.com> Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>