diff options
author | Thomas Gleixner <[email protected]> | 2022-11-23 21:18:39 +0100 |
---|---|---|
committer | Thomas Gleixner <[email protected]> | 2022-11-24 15:09:11 +0100 |
commit | 82ed6f7ef58f9634fe4462dd721902c580f01569 (patch) | |
tree | 48f223c6b96de5add00396cd5ed0ce9d5e2b522f /drivers/fpga/fpga-mgr.c | |
parent | 9a5a305686971f4be10c6d7251c8348d74b3e014 (diff) |
timers: Replace BUG_ON()s
The timer code still has a few BUG_ON()s left which are crashing the kernel
in situations where it still can recover or simply refuse to take an
action.
Remove the one in the hotplug callback which checks for the CPU being
offline. If that happens then the whole hotplug machinery will explode in
colourful ways.
Replace the rest with WARN_ON_ONCE() and conditional returns where
appropriate.
Signed-off-by: Thomas Gleixner <[email protected]>
Tested-by: Guenter Roeck <[email protected]>
Reviewed-by: Jacob Keller <[email protected]>
Reviewed-by: Anna-Maria Behnsen <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'drivers/fpga/fpga-mgr.c')
0 files changed, 0 insertions, 0 deletions