From: Vicente Feito <vicente.feito@gmail.com>
To: kernel-janitors@vger.kernel.org
Subject: [KJ][PATCH]sound/drivers/opl3/opl3_midi.c:replace [const]char *s=""
Date: Fri, 04 Feb 2005 11:44:11 +0000 [thread overview]
Message-ID: <200502041144.11496.vicente.feito@gmail.com> (raw)
[-- 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
reply other threads:[~2005-02-04 11:44 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200502041144.11496.vicente.feito@gmail.com \
--to=vicente.feito@gmail.com \
--cc=kernel-janitors@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.