OSDN Git Service

powerpc/85xx: mpc85xx_{ds/rdb} replace BUG_ON() by WARN_ON()
authorChristophe Leroy <christophe.leroy@csgroup.eu>
Sat, 8 Apr 2023 14:01:12 +0000 (16:01 +0200)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 20 Apr 2023 00:20:51 +0000 (10:20 +1000)
commit1bca2f8219da51a1119d1f4054b44880cbf0494e
tree75b3b4551e8df7ece6d2e0f3dc2d5e92f803a321
parent0abc1eadd605d461b9a953e6a27d810ed169ed7b
powerpc/85xx: mpc85xx_{ds/rdb} replace BUG_ON() by WARN_ON()

No need to BUG() in case mpic_alloc() fails. Use WARN_ON().

Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Signed-off-by: Pali Rohár <pali@kernel.org>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://msgid.link/20230408140122.25293-4-pali@kernel.org
arch/powerpc/platforms/85xx/mpc85xx_ds.c
arch/powerpc/platforms/85xx/mpc85xx_rdb.c