Skip to contentSkip to conversation

drivers/video: Use char foo[] instead of

PATCH New Kev Jackson 1 participant 1 message Oct 11, 2007

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 drivers/video: Use char foo[] instead of

From: Kev Jackson <[email protected]>

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

---

 savagefb_driver.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/video/savage/savagefb_driver.c +1 -1
index b855f4a..ffde49a 100644
@@ -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 [email protected] with
&quot;subscribe kernel-janitors&quot; in message body and follow instructions.

Kernel-janitors mailing list
[email protected]
https://lists.linux-foundation.org/mailman/listinfo/kernel-janitors