]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/fadump: improve fadump_reserve_mem()
authorHari Bathini <hbathini@linux.ibm.com>
Wed, 11 Sep 2019 14:50:41 +0000 (20:20 +0530)
committerMichael Ellerman <mpe@ellerman.id.au>
Fri, 13 Sep 2019 14:04:43 +0000 (00:04 +1000)
commiteb66b542a3735a7569de54c65e20c3aeb17c57a4
tree08d370a6c4c798ea243b843a8dd165d7815222c7
parent498922853e4c5b6e27384d3b9138226a6480c30d
powerpc/fadump: improve fadump_reserve_mem()

Some code clean-up like using minimal assignments and updating printk
messages. Also, add an 'error_out' label for handling error cleanup
at one place.

Signed-off-by: Hari Bathini <hbathini@linux.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/156821343485.5656.10202857091553646948.stgit@hbathini.in.ibm.com
arch/powerpc/kernel/fadump.c