diff options
| author | Anna-Maria Behnsen <[email protected]> | 2024-06-10 10:35:52 +0000 |
|---|---|---|
| committer | Thomas Gleixner <[email protected]> | 2024-07-03 19:32:55 +0000 |
| commit | 59dbee7d4d59425658b1d86238732c575216b718 (patch) | |
| tree | abce868ec02162d894b492ba246f88ce699ec4a8 /drivers/net/ethernet/intel/igc | |
| parent | x86/vdso: Remove unused include (diff) | |
| download | kernel-59dbee7d4d59425658b1d86238732c575216b718.tar.gz kernel-59dbee7d4d59425658b1d86238732c575216b718.zip | |
tick/sched: Combine WARN_ON_ONCE and print_once
When the WARN_ON_ONCE() triggers, the printk() of the additional
information related to the warning will not happen in print level
"warn". When reading dmesg with a restriction to level "warn", the
information published by the printk_once() will not show up there.
Transform WARN_ON_ONCE() and printk_once() into a WARN_ONCE().
Signed-off-by: Anna-Maria Behnsen <[email protected]>
Signed-off-by: Thomas Gleixner <[email protected]>
Reviewed-by: Frederic Weisbecker <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'drivers/net/ethernet/intel/igc')
0 files changed, 0 insertions, 0 deletions
