[PATCH] ghes: don't return 0 even when failed to read estatus in ghes_proc()

2013-12-27 Thread Ethan Zhao
ghes_proc() always return 0 even failed to read estatus, so when it is called in interrupt handler ghes_irq_func(), we don't know the interrupt was handled well or not, because the ghes_irq_func() will return only IRQ_HANDLED. Signed-off-by: Ethan Zhao --- drivers/acpi/apei/ghes.c | 4 ++-- 1

[PATCH] ghes: don't return 0 even when failed to read estatus in ghes_proc()

2013-12-27 Thread Ethan Zhao
ghes_proc() always return 0 even failed to read estatus, so when it is called in interrupt handler ghes_irq_func(), we don't know the interrupt was handled well or not, because the ghes_irq_func() will return only IRQ_HANDLED. Signed-off-by: Ethan Zhao ethan.ker...@gmail.com ---