2004-06-21 20:22:40

by maximilian attems

[permalink] [raw]
Subject: [patch-kj] printk fix drivers/char/istallion.c


please apply that small janitorial fix.


From: <[email protected]>(Walter Harms)
this is a quick fix for the istallion driver.
it has one %d to much.

regards,
walter
ps: calling returncodes something like 'i' should be forbidden

Signed-off-by: Maximilian Attems <[email protected]>


---

linux-2.6.7-max/drivers/char/istallion.c | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)

diff -puN drivers/char/istallion.c~printk-fix-istallion drivers/char/istallion.c
--- linux-2.6.7/drivers/char/istallion.c~printk-fix-istallion 2004-06-18 10:33:41.000000000 +0200
+++ linux-2.6.7-max/drivers/char/istallion.c 2004-06-18 10:33:41.000000000 +0200
@@ -851,7 +851,7 @@ static void __exit istallion_module_exit
i = tty_unregister_driver(stli_serial);
if (i) {
printk("STALLION: failed to un-register tty driver, "
- "errno=%d,%d\n", -i);
+ "errno=%d\n", -i);
restore_flags(flags);
return;
}



2004-07-01 03:30:20

by Jeff Garzik

[permalink] [raw]
Subject: Re: [patch-kj] printk fix drivers/char/istallion.c

patch OK but rejected against mainline. please rediif and resubmit.