All of lore.kernel.org
 help / color / mirror / Atom feed
From: Kev Jackson <foamdino@gmail.com>
To: kernel-janitors@vger.kernel.org
Subject: [KJ] [patch] [trivial] drivers/video: Use char foo[] instead of
Date: Thu, 11 Oct 2007 07:54:06 +0000	[thread overview]
Message-ID: <470DD69E.2060509@gmail.com> (raw)

From: Kev Jackson <foamdino@gmail.com>

-Use char foo[] instead of char *foo as per kernel janitors TODO list

Signed-off-by: Kev Jackson <foamdino@gmail.com>

---

 savagefb_driver.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/video/savage/savagefb_driver.c b/drivers/video/savage/savagefb_driver.c
index b855f4a..ffde49a 100644
--- a/drivers/video/savage/savagefb_driver.c
+++ b/drivers/video/savage/savagefb_driver.c
@@ -1999,7 +1999,7 @@ static int savage_init_hw(struct savagefb_par *par)
 		int panelY = (VGArSEQ(0x69, par) +
 			      ((VGArSEQ(0x6e, par) & 0x70) << 4) + 1);

-		char * sTechnology = "Unknown";
+		char sTechnology[] = "Unknown";

 		/* OK, I admit it.  I don't know how to limit the max dot clock
 		 * for LCD panels of various sizes.  I thought I copied the
_______________________________________________
REMINDER: this mailing list moved to vger.kernel.org and current one will be discontinued soon.
To resubscribe, send email to majordomo@vger.kernel.org with
&quot;subscribe kernel-janitors&quot; in message body and follow instructions.

Kernel-janitors mailing list
Kernel-janitors@lists.linux-foundation.org
https://lists.linux-foundation.org/mailman/listinfo/kernel-janitors

                 reply	other threads:[~2007-10-11  7:54 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=470DD69E.2060509@gmail.com \
    --to=foamdino@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.