]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/eeh: Refactor eeh_reset_pe()
authorGavin Shan <gwshan@linux.vnet.ibm.com>
Thu, 13 Nov 2014 23:47:28 +0000 (10:47 +1100)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Tue, 2 Dec 2014 00:03:26 +0000 (11:03 +1100)
commit9da3432b68f81c418561a8e317d796c0245cadab
tree525d58520fb965f5e5939e5c589fe532ac7ac0c6
parentfc78ce77f19f16b2fe201b91caec74d40a19bed6
powerpc/eeh: Refactor eeh_reset_pe()

The patch refactors eeh_reset_pe() in order for:

   * Varied return values for different failure cases.
   * Replace pr_err() with pr_warn() and print function name.
   * Coding style cleanup.

Signed-off-by: Gavin Shan <gwshan@linux.vnet.ibm.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/kernel/eeh.c