[KJ] [patch] [trivial] drivers/video: Use char foo[] instead of char *foo in savagefb_driver.c

1 view
Skip to first unread message

Kev Jackson

unread,
Oct 11, 2007, 3:54:06 AM10/11/07
to kernel-...@lists.osdl.org
From: Kev Jackson <foam...@gmail.com>

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

Signed-off-by: Kev Jackson <foam...@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 majo...@vger.kernel.org with
&quot;subscribe kernel-janitors&quot; in message body and follow instructions.

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

Reply all
Reply to author
Forward
0 new messages