Skip to content
Commit efcb3cf7 authored by Tejun Heo's avatar Tejun Heo Committed by Linus Torvalds
Browse files

libata: use WARN_ON_ONCE on hot paths



Convert WARN_ON() on command issue/completion paths to WARN_ON_ONCE()
so that libata doesn't spam the machine even when one of those
conditions triggers repeatedly.

Signed-off-by: default avatarTejun Heo <tj@kernel.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 43529c97
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment