We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5c49cc0 commit 7519033Copy full SHA for 7519033
drivers/firewire/core-iso.c
@@ -220,7 +220,7 @@ int fw_iso_context_flush_completions(struct fw_iso_context *ctx)
220
might_sleep();
221
222
// Avoid dead lock due to programming mistake.
223
- if (WARN_ON(current_work() == &ctx->work))
+ if (WARN_ON_ONCE(current_work() == &ctx->work))
224
return 0;
225
226
disable_work_sync(&ctx->work);
@@ -244,7 +244,7 @@ int fw_iso_context_stop(struct fw_iso_context *ctx)
244
245
246
247
248
249
250
err = ctx->card->driver->stop_iso(ctx);
0 commit comments