]> git.baikalelectronics.ru Git - kernel.git/commit
pstore: make pstore write function return normal success/fail value
authorChen Gong <gong.chen@linux.intel.com>
Wed, 12 Oct 2011 16:17:24 +0000 (09:17 -0700)
committerTony Luck <tony.luck@intel.com>
Wed, 12 Oct 2011 16:17:24 +0000 (09:17 -0700)
commit6ff58a7646b5d1b2cbea570b481e2746792e4c60
treea46a6ce7567d9826ae48c2f3dc5aa0167de1f26c
parent58dee14ded0f9d6aa5bf7b27361154a92d8055d6
pstore: make pstore write function return normal success/fail value

Currently pstore write interface employs record id as return
value, but it is not enough because it can't tell caller if
the write operation is successful. Pass the record id back via
an argument pointer and return zero for success, non-zero for
failure.

Signed-off-by: Chen Gong <gong.chen@linux.intel.com>
Signed-off-by: Tony Luck <tony.luck@intel.com>
drivers/acpi/apei/erst.c
drivers/firmware/efivars.c
fs/pstore/platform.c
include/linux/pstore.h