lkml.org 
[lkml]   [2005]   [Mar]   [21]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
DateMon, 21 Mar 2005 09:25:28 +0100 (CET)
FromBodo Eggert <>
SubjectRe: [PATCH 2.6.11.2][2/2] printk with anti-cluttering-feature
On Sun, 20 Mar 2005, Bodo Eggert wrote:

The new kernels have tuner.c fixed differently, removed that part.

> Update some functions to use printk_nospam
> 
> Signed-Off-By: Bodo Eggert <7eggert@gmx.de>
> 
> 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;
> diff -purNXdontdiff linux-2.6.11/drivers/input/keyboard/atkbd.c linux-2.6.11.new/drivers/input/keyboard/atkbd.c
> --- linux-2.6.11/drivers/input/keyboard/atkbd.c	2005-03-03 15:41:33.000000000 +0100
> +++ linux-2.6.11.new/drivers/input/keyboard/atkbd.c	2005-03-20 14:56:55.000000000 +0100
> @@ -320,7 +320,7 @@ static irqreturn_t atkbd_interrupt(struc
>  			atkbd_report_key(&atkbd->dev, regs, KEY_HANJA, 3);
>  			goto out;
>  		case ATKBD_RET_ERR:
> -			printk(KERN_DEBUG "atkbd.c: Keyboard on %s reports too many keys pressed.\n", serio->phys);
> +			printk_nospam(2260620158, KERN_DEBUG "atkbd.c: Keyboard on %s reports too many keys pressed.\n", serio->phys);
>  			goto out;
>  	}
> 

-- 
Top 100 things you don't want the sysadmin to say:
61. Yes, I chowned all the files to belong to pvcs.  Is that a problem to
    you?
Friß, Spammer: intercom@wedocraffix.com beetled@cnhptz.com
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:11    [from the cache]
©2003-2008