summaryrefslogtreecommitdiff
path: root/samples/workqueue
diff options
context:
space:
mode:
authorErni Sri Satya Vennela <ernis@linux.microsoft.com>2026-04-20 15:47:36 +0300
committerPaolo Abeni <pabeni@redhat.com>2026-04-23 13:49:13 +0300
commit6e8bc03349fe4f09567fa76235abf52bdaf83082 (patch)
treec510b47e5aff41aa66d94cc0bc41e29f49c7411f /samples/workqueue
parentcb4a90744bcd1adf12f0d0c7c4f0dd2647444ec5 (diff)
downloadlinux-6e8bc03349fe4f09567fa76235abf52bdaf83082.tar.xz
net: mana: Init gf_stats_work before potential error paths in probe
Move INIT_DELAYED_WORK(gf_stats_work) to before mana_create_eq(), while keeping schedule_delayed_work() at its original location. Previously, if any function between mana_create_eq() and the INIT_DELAYED_WORK call failed, mana_probe() would call mana_remove() which unconditionally calls cancel_delayed_work_sync(gf_stats_work) in __flush_work() or debug object warnings with CONFIG_DEBUG_OBJECTS_WORK enabled. Fixes: be4f1d67ec56 ("net: mana: Add standard counter rx_missed_errors") Signed-off-by: Erni Sri Satya Vennela <ernis@linux.microsoft.com> Link: https://patch.msgid.link/20260420124741.1056179-3-ernis@linux.microsoft.com Reviewed-by: Simon Horman <horms@kernel.org> Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'samples/workqueue')
0 files changed, 0 insertions, 0 deletions