MIPS: OCTEON: warn only once if deprecated link status is being used
authorLadislav Michl <ladis@linux-mips.org>
Thu, 8 Dec 2022 11:25:57 +0000 (12:25 +0100)
committerThomas Bogendoerfer <tsbogend@alpha.franken.de>
Fri, 9 Dec 2022 22:37:46 +0000 (23:37 +0100)
commit4c587a982603d7e7e751b4925809a1512099a690
treec003987967af87c697b86ef12b7e280693ba8257
parentee9ef11bd2a59c2fefaa0959e5efcdf040d7c654
MIPS: OCTEON: warn only once if deprecated link status is being used

Avoid flooding kernel log with warnings.

Fixes: 2c0756d306c2 ("MIPS: OCTEON: warn if deprecated link status is being used")
Signed-off-by: Ladislav Michl <ladis@linux-mips.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
arch/mips/cavium-octeon/executive/cvmx-helper-board.c
arch/mips/cavium-octeon/executive/cvmx-helper.c