diff options
author | Andi Kleen <ak@suse.de> | 2008-01-13 17:41:43 +0100 |
---|---|---|
committer | James Bottomley <James.Bottomley@HansenPartnership.com> | 2008-01-23 11:29:27 -0600 |
commit | eaa3e22e8d32bf7a6176f04efad90f4a5aa67f58 (patch) | |
tree | e07c69ade8e52ee383f3f169fcc7b7e6b88cca83 /sound/isa/wavefront | |
parent | d496f94d22d1491ffb25f4000e85f7a4ecf7f2c4 (diff) | |
download | kernel_samsung_smdk4412-eaa3e22e8d32bf7a6176f04efad90f4a5aa67f58.zip kernel_samsung_smdk4412-eaa3e22e8d32bf7a6176f04efad90f4a5aa67f58.tar.gz kernel_samsung_smdk4412-eaa3e22e8d32bf7a6176f04efad90f4a5aa67f58.tar.bz2 |
[SCSI] sg: Only print SCSI data direction warning once for a command
When I use cdparanoia my logs get spammed a lot by
printk: 464 messages suppressed.
sg_write: data in/out 30576/30576 bytes for SCSI command 0xbe--guessing data in;
program cdparanoia not setting count and/or reply_len properly
printk: 1078 messages suppressed.
and many more of those. With this patch the message is only printed once
for a command in a row.
v1->v2: Prevent rate limit messages too (pointed out by jejb)
Signed-off-by: Andi Kleen <ak@suse.de>
Acked-by: Douglas Gilbert <dougg@torque.net>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
Diffstat (limited to 'sound/isa/wavefront')
0 files changed, 0 insertions, 0 deletions