* Re: [KJ] [PATCH] sound/oss/maestro3.c printk args concatenation
2005-11-19 1:33 [KJ] [PATCH] sound/oss/maestro3.c printk args concatenation Witold Rugowski
@ 2005-11-19 2:17 ` Nish Aravamudan
2005-11-20 10:57 ` Witold Rugowski
` (5 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: Nish Aravamudan @ 2005-11-19 2:17 UTC (permalink / raw)
To: kernel-janitors
On 11/18/05, Witold Rugowski <rugowski@nhw.pl> wrote:
> Removed string concatenation in printk args
>
> Signed-off-by: Witold Rugowski <rugowski@nhw.pl>
>
> diff -urpN linux-2.6.14.2/sound/oss/maestro3.c linux-2.6.14.2-wr/sound/oss/maestro3.c
> --- linux-2.6.14.2/sound/oss/maestro3.c Fri Nov 11 06:33:12 2005
> +++ linux-2.6.14.2-wr/sound/oss/maestro3.c Fri Nov 18 23:56:37 2005
> @@ -2935,7 +2935,7 @@ static struct pci_driver m3_pci_driver >
> static int __init m3_init_module(void)
> {
> - printk(KERN_INFO PFX "version " DRIVER_VERSION " built at " __TIME__ "
> "__DATE__ "\n");
> + printk(KERN_INFO "%sversion %s built at %s
> %s\n",PFX,DRIVER_VERSION,__TIME__, __DATE__);
Missing spaces?
printk(KERN_INFO "%s version %s built at %s %s\n", PFX,
DRIVER_VERSION, __TIME__, __DATE__);
Thanks,
Nish
_______________________________________________
Kernel-janitors mailing list
Kernel-janitors@lists.osdl.org
https://lists.osdl.org/mailman/listinfo/kernel-janitors
^ permalink raw reply [flat|nested] 8+ messages in thread* Re: [KJ] [PATCH] sound/oss/maestro3.c printk args concatenation
2005-11-19 1:33 [KJ] [PATCH] sound/oss/maestro3.c printk args concatenation Witold Rugowski
2005-11-19 2:17 ` Nish Aravamudan
@ 2005-11-20 10:57 ` Witold Rugowski
2005-11-20 16:57 ` Nish Aravamudan
` (4 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: Witold Rugowski @ 2005-11-20 10:57 UTC (permalink / raw)
To: kernel-janitors
Nish Aravamudan wrote:
> Missing spaces?
Yes. But that was my first time ;-)) so - improved patch version follows:
--- linux-2.6.14.2/sound/oss/maestro3.c Fri Nov 11 06:33:12 2005
+++ linux-2.6.14.2-wr/sound/oss/maestro3.c Sun Nov 20 11:10:28 2005
@@ -2935,7 +2935,8 @@ static struct pci_driver m3_pci_driver
static int __init m3_init_module(void)
{
- printk(KERN_INFO PFX "version " DRIVER_VERSION " built at " __TIME__ " " __DATE__ "\n");
+ printk(KERN_INFO "%sversion %s built at %s %s\n", PFX, DRIVER_VERSION,
+ __TIME__, __DATE__);
if (register_reboot_notifier(&m3_reboot_nb)) {
printk(KERN_WARNING PFX "reboot notifier registration failed\n");
--
Witold Rugowski
rugowski _at_ nhw.pl http://nhw.pl/blg/
_______________________________________________
Kernel-janitors mailing list
Kernel-janitors@lists.osdl.org
https://lists.osdl.org/mailman/listinfo/kernel-janitors
^ permalink raw reply [flat|nested] 8+ messages in thread* Re: [KJ] [PATCH] sound/oss/maestro3.c printk args concatenation
2005-11-19 1:33 [KJ] [PATCH] sound/oss/maestro3.c printk args concatenation Witold Rugowski
2005-11-19 2:17 ` Nish Aravamudan
2005-11-20 10:57 ` Witold Rugowski
@ 2005-11-20 16:57 ` Nish Aravamudan
2005-11-21 23:01 ` Håkon Løvdal
` (3 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: Nish Aravamudan @ 2005-11-20 16:57 UTC (permalink / raw)
To: kernel-janitors
On 11/20/05, Witold Rugowski <rugowski@nhw.pl> wrote:
> Nish Aravamudan wrote:
> > Missing spaces?
>
> Yes. But that was my first time ;-)) so - improved patch version follows:
No problem. You need to provide a description and Signed-off-by line
with every patch, though, to make the maintainer's job easier.
Otherwise looks ok, except you're patching an obsolete subsystem
(OSS). I wouldn't bother.
Thanks,
Nish
_______________________________________________
Kernel-janitors mailing list
Kernel-janitors@lists.osdl.org
https://lists.osdl.org/mailman/listinfo/kernel-janitors
^ permalink raw reply [flat|nested] 8+ messages in thread* Re: [KJ] [PATCH] sound/oss/maestro3.c printk args concatenation
2005-11-19 1:33 [KJ] [PATCH] sound/oss/maestro3.c printk args concatenation Witold Rugowski
` (2 preceding siblings ...)
2005-11-20 16:57 ` Nish Aravamudan
@ 2005-11-21 23:01 ` Håkon Løvdal
2005-11-21 23:11 ` Nish Aravamudan
` (2 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: Håkon Løvdal @ 2005-11-21 23:01 UTC (permalink / raw)
To: kernel-janitors
On 11/19/05, Witold Rugowski <rugowski@nhw.pl> wrote:
> Removed string concatenation in printk args
Why would you turn a compile-time string concatenation into a run-time
string concatenation? I am not sure what the benefits from doing that should be.
BR Håkon Løvdal
_______________________________________________
Kernel-janitors mailing list
Kernel-janitors@lists.osdl.org
https://lists.osdl.org/mailman/listinfo/kernel-janitors
^ permalink raw reply [flat|nested] 8+ messages in thread* Re: [KJ] [PATCH] sound/oss/maestro3.c printk args concatenation
2005-11-19 1:33 [KJ] [PATCH] sound/oss/maestro3.c printk args concatenation Witold Rugowski
` (3 preceding siblings ...)
2005-11-21 23:01 ` Håkon Løvdal
@ 2005-11-21 23:11 ` Nish Aravamudan
2005-11-21 23:25 ` Witold Rugowski
2005-11-22 18:26 ` Nish Aravamudan
6 siblings, 0 replies; 8+ messages in thread
From: Nish Aravamudan @ 2005-11-21 23:11 UTC (permalink / raw)
To: kernel-janitors
On 11/21/05, Håkon Løvdal <hlovdal@gmail.com> wrote:
> On 11/19/05, Witold Rugowski <rugowski@nhw.pl> wrote:
> > Removed string concatenation in printk args
>
> Why would you turn a compile-time string concatenation into a run-time
> string concatenation? I am not sure what the benefits from doing that should be.
Good point. Depends on when gcc evaluates __TIME__ and __DATE__? In
any case, the OSS driver in question has an ALSA version, which means
that it's fully deprecated and probably will be gotten rid of by
Adrian Bunk soon enough. Unless it has functionality that the ALSA
driver doesn't. In any case, I would just forget about this patch.
Thanks,
Nish
_______________________________________________
Kernel-janitors mailing list
Kernel-janitors@lists.osdl.org
https://lists.osdl.org/mailman/listinfo/kernel-janitors
^ permalink raw reply [flat|nested] 8+ messages in thread* Re: [KJ] [PATCH] sound/oss/maestro3.c printk args concatenation
2005-11-19 1:33 [KJ] [PATCH] sound/oss/maestro3.c printk args concatenation Witold Rugowski
` (4 preceding siblings ...)
2005-11-21 23:11 ` Nish Aravamudan
@ 2005-11-21 23:25 ` Witold Rugowski
2005-11-22 18:26 ` Nish Aravamudan
6 siblings, 0 replies; 8+ messages in thread
From: Witold Rugowski @ 2005-11-21 23:25 UTC (permalink / raw)
To: kernel-janitors
Nish Aravamudan wrote:
> Adrian Bunk soon enough. Unless it has functionality that the ALSA
> driver doesn't. In any case, I would just forget about this patch.
It was just a first patch of mine;-)) so let's forget about it. I will check wheter on KJ TODO I find something suitable for me. And will see what will be with second one ;-))
--
Witold Rugowski
rugowski _at_ nhw.pl http://nhw.pl/blg/
_______________________________________________
Kernel-janitors mailing list
Kernel-janitors@lists.osdl.org
https://lists.osdl.org/mailman/listinfo/kernel-janitors
^ permalink raw reply [flat|nested] 8+ messages in thread* Re: [KJ] [PATCH] sound/oss/maestro3.c printk args concatenation
2005-11-19 1:33 [KJ] [PATCH] sound/oss/maestro3.c printk args concatenation Witold Rugowski
` (5 preceding siblings ...)
2005-11-21 23:25 ` Witold Rugowski
@ 2005-11-22 18:26 ` Nish Aravamudan
6 siblings, 0 replies; 8+ messages in thread
From: Nish Aravamudan @ 2005-11-22 18:26 UTC (permalink / raw)
To: kernel-janitors
On 11/21/05, Witold Rugowski <rugowski@nhw.pl> wrote:
> Nish Aravamudan wrote:
> > Adrian Bunk soon enough. Unless it has functionality that the ALSA
> > driver doesn't. In any case, I would just forget about this patch.
>
> It was just a first patch of mine;-)) so let's forget about it. I will check wheter on
> KJ TODO I find something suitable for me. And will see what will be with second
> one ;-))
It was a good effort, Witold, and generally the right thing to look
for. Look forward to seeing more patches from you in the future.
Thanks,
Nish
_______________________________________________
Kernel-janitors mailing list
Kernel-janitors@lists.osdl.org
https://lists.osdl.org/mailman/listinfo/kernel-janitors
^ permalink raw reply [flat|nested] 8+ messages in thread