sound/drivers/opl3/opl3_midi.c:replace [const]char *s=""
Subsystems (2)
PATCH 1/1 sound/drivers/opl3/opl3_midi.c:replace [const]char *s=""
Hi,
Please consider applying.
Thank you.
Description: Replaces char *str = "" with char str[] = "".
Signed-off-by Vicente Feito <[email protected]>
sound/drivers/opl3/opl3_midi.c 2005-02-04 02:17:51.000000000 +0000 renamed from sound/drivers/opl3/opl3_midi.c 2005-02-04 02:09:23.000000000 +0000 +1 -1
@@ -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++)
_______________________________________________
Kernel-janitors mailing list
[email protected]
http://lists.osdl.org/mailman/listinfo/kernel-janitors