commit | a7560fc80f33cab33176ee78f146df22b28e3338 | [log] [tgz] |
---|---|---|
author | Wu Fengguang <fengguang.wu@intel.com> | Wed Dec 16 12:19:57 2009 +0100 |
committer | Andi Kleen <ak@linux.intel.com> | Wed Dec 16 12:19:57 2009 +0100 |
tree | 1301b08559615aa5e7db0b11f03c98f3848c8142 | |
parent | 9b9a29ecd75e310f75a9243e1c3538ad34598fcb [diff] |
HWPOISON: return ENXIO on invalid page number Use a different errno than the usual EIO for invalid page numbers. This is mainly for better reporting for the injector. This also avoids calling action_result() with invalid pfn. Signed-off-by: Wu Fengguang <fengguang.wu@intel.com> Signed-off-by: Andi Kleen <ak@linux.intel.com>