mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-03 22:06:49 +07:00
17d97bad1a
BUG() can be a noop if CONFIG_BUG is not selected, leading to the following build problem on a randconfig: arch/mips/bcm63xx/cpu.c: In function 'detect_cpu_clock': arch/mips/bcm63xx/cpu.c:254:1: error: control reaches end of non-void function [-Werror=return-type] We fix this problem by replacing BUG() with panic() since it's best to handle the case of an unknown board instead of silently returning a random clock frequency. Signed-off-by: Markos Chandras <markos.chandras@imgtec.com> Acked-by: Steven J. Hill <Steven.Hill@imgtec.com> Acked-by: Jonas Gorski <jogo@openwrt.org> Signed-off-by: John Crispin <blogic@openwrt.org> Patchwork: http://patchwork.linux-mips.org/patch/5932/ |
||
---|---|---|
.. | ||
boards | ||
clk.c | ||
cpu.c | ||
cs.c | ||
dev-dsp.c | ||
dev-enet.c | ||
dev-flash.c | ||
dev-hsspi.c | ||
dev-pcmcia.c | ||
dev-rng.c | ||
dev-spi.c | ||
dev-uart.c | ||
dev-usb-usbd.c | ||
dev-wdt.c | ||
early_printk.c | ||
gpio.c | ||
irq.c | ||
Kconfig | ||
Makefile | ||
nvram.c | ||
Platform | ||
prom.c | ||
reset.c | ||
setup.c | ||
timer.c |