* [KJ][PATCH]sound/drivers/opl3/opl3_midi.c:replace [const]char *s=""
@ 2005-02-04 11:44 Vicente Feito
0 siblings, 0 replies; only message in thread
From: Vicente Feito @ 2005-02-04 11:44 UTC (permalink / raw)
To: kernel-janitors
[-- Attachment #1: Type: text/plain, Size: 664 bytes --]
Hi,
Please consider applying.
Thank you.
Description: Replaces char *str = "" with char str[] = "".
Signed-off-by: Vicente Feito <vicente.feito@gmail.com>
--- linux-2.6.10-orig/sound/drivers/opl3/opl3_midi.c 2005-02-04 02:09:23.000000000 +0000
+++ linux-2.6.10/sound/drivers/opl3/opl3_midi.c 2005-02-04 02:17:51.000000000 +0000
@@ -123,7 +123,7 @@ static void snd_opl3_calc_pitch(unsigned
#ifdef DEBUG_ALLOC
static void debug_alloc(opl3_t *opl3, char *s, int voice) {
int i;
- char *str = "x.24";
+ char str[] = "x.24";
printk("time %.5i: %s [%.2i]: ", opl3->use_time, s, voice);
for (i = 0; i < opl3->max_voices; i++)
[-- Attachment #2: Type: text/plain, Size: 167 bytes --]
_______________________________________________
Kernel-janitors mailing list
Kernel-janitors@lists.osdl.org
http://lists.osdl.org/mailman/listinfo/kernel-janitors
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2005-02-04 11:44 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-02-04 11:44 [KJ][PATCH]sound/drivers/opl3/opl3_midi.c:replace [const]char *s="" Vicente Feito
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.