Re: [PATCH 2.6.11.2][2/2] printk with anti-cluttering-feature

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 21 Mar 2005, Bodo Eggert wrote:
> On Sun, 20 Mar 2005, Bodo Eggert wrote:

I just sent an alternative fix kot atkbd.c, which clashes with the 
previous version of this patch. This leaves un with one place where 
printk_nospam is used. Just in case you still think it's usefull, here is 
the modified patch.

BTW: If you're bugged by other kernel messages, I can add them, too.

> The new kernels have tuner.c fixed differently, removed that part.
> 
> > Update some functions to use printk_nospam

> > Signed-Off-By: Bodo Eggert <[email protected]>
> > 
> > diff -purNXdontdiff linux-2.6.11/drivers/block/scsi_ioctl.c linux-2.6.11.new/drivers/block/scsi_ioctl.c
> > --- linux-2.6.11/drivers/block/scsi_ioctl.c	2005-03-03 15:41:28.000000000 +0100
> > +++ linux-2.6.11.new/drivers/block/scsi_ioctl.c	2005-03-20 14:56:55.000000000 +0100
> > @@ -547,7 +547,7 @@ int scsi_cmd_ioctl(struct file *file, st
> >  		 * old junk scsi send command ioctl
> >  		 */
> >  		case SCSI_IOCTL_SEND_COMMAND:
> > -			printk(KERN_WARNING "program %s is using a deprecated SCSI ioctl, please convert it to SG_IO\n", current->comm);
> > +			printk_nospam(2296159591, KERN_WARNING "program %s is using a deprecated SCSI ioctl, please convert it to SG_IO\n", current->comm);
> >  			err = -EINVAL;
> >  			if (!arg)
> >  				break;
-- 
Funny quotes:
38. Last night I played a blank tape at full blast. The mime next door went
    nuts.
Friß, Spammer: [email protected] [email protected]
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux