]> 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)
commit5e588f81df70435b9410617c6dd0034d6732b925
tree08d370a6c4c798ea243b843a8dd165d7815222c7
parent13b4d9072eb8af5ce575b76705a7ad7f5dc38bc9
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