aboutsummaryrefslogtreecommitdiff
path: root/lib/memory-notifier-error-inject.c
diff options
context:
space:
mode:
authorAdrian Huang <[email protected]>2012-12-15 00:30:07 +0100
committerRafael J. Wysocki <[email protected]>2013-01-03 13:10:20 +0100
commit6780aa683d4d83ed887dd07b7987947d339d76f1 (patch)
treeaacc6936e42d2cd73a98439987c3b7efa361eed4 /lib/memory-notifier-error-inject.c
parentd1c3ed669a2d452cacfb48c2d171a1f364dae2ed (diff)
ACPI / APEI: Fix the returned value in erst_dbg_read
If the persistent store is empty initially, the function 'erst_dbg_read' returns a nonzero value. The better way is to return a zero indicating the read operation reaches EOF. Tested on two different servers. Signed-off-by: Adrian Huang <[email protected]> Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions