diff options
author | Tejun Heo <tj@kernel.org> | 2009-01-09 19:19:14 +0900 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-01-09 11:54:22 -0800 |
commit | efcb3cf7f00c3c424db012380a8a974c2676a3c8 (patch) | |
tree | eaff0a3d6fed469629b81e8781ac80ca7c75eec1 /drivers/ata/pata_scc.c | |
parent | 43529c97122f2c851126447963eedcb8cba74fbe (diff) |
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: Tejun Heo <tj@kernel.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/ata/pata_scc.c')
0 files changed, 0 insertions, 0 deletions