OSDN Git Service

powerpc/powernv: fix wrong warning message in opalcore_config_init()
authorQinglang Miao <miaoqinglang@huawei.com>
Wed, 16 Sep 2020 06:21:29 +0000 (14:21 +0800)
committerMichael Ellerman <mpe@ellerman.id.au>
Fri, 18 Sep 2020 09:59:45 +0000 (19:59 +1000)
commit8ec5cb12cd957e59b0470b75d26c901aaf645bc3
tree5943267038f818a41e46043368ff193440d66f7c
parent1d42e07e9c249b7a032fba82b673ee8a8d6bd7b7
powerpc/powernv: fix wrong warning message in opalcore_config_init()

The logic of the warn output is incorrect. The two args should be
exchanged.

Signed-off-by: Qinglang Miao <miaoqinglang@huawei.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20200916062129.190864-1-miaoqinglang@huawei.com
arch/powerpc/platforms/powernv/opal-core.c