OSDN Git Service

powerpc/powernv: Treat an empty reboot string as default
authorOliver O'Halloran <oohall@gmail.com>
Mon, 17 Feb 2020 02:48:32 +0000 (13:48 +1100)
committerMichael Ellerman <mpe@ellerman.id.au>
Wed, 4 Mar 2020 11:44:27 +0000 (22:44 +1100)
commit16985f2d25095899685952296f128a71f0aff05c
tree7b9db801f45fb0af02b3ae87d2ff839c29c31326
parentd42c6d0f8d004c3661dde3c376ed637e9f292c22
powerpc/powernv: Treat an empty reboot string as default

Treat an empty reboot cmd string the same as a NULL string. This squashes a
spurious unsupported reboot message that sometimes gets out when using
xmon.

Signed-off-by: Oliver O'Halloran <oohall@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20200217024833.30580-1-oohall@gmail.com
arch/powerpc/platforms/powernv/setup.c