summaryrefslogtreecommitdiffstats
path: root/lib/dec_and_lock.c
diff options
context:
space:
mode:
authorWu Fengguang <fengguang.wu@intel.com>2009-12-16 12:19:57 +0100
committerAndi Kleen <ak@linux.intel.com>2009-12-16 12:19:57 +0100
commita7560fc80f33cab33176ee78f146df22b28e3338 (patch)
tree1301b08559615aa5e7db0b11f03c98f3848c8142 /lib/dec_and_lock.c
parentHWPOISON: remove the anonymous entry (diff)
downloadlinux-a7560fc80f33cab33176ee78f146df22b28e3338.tar.xz
linux-a7560fc80f33cab33176ee78f146df22b28e3338.zip
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>
Diffstat (limited to 'lib/dec_and_lock.c')
0 files changed, 0 insertions, 0 deletions