OSDN Git Service
(root)
/
android-x86
/
kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6eed8dc
)
Staging: xgifb: increase VBIOS_VER_MAX_LENGTH to 5
author
Bill Pemberton
<wfp5p@virginia.edu>
Thu, 17 Jun 2010 17:10:57 +0000
(13:10 -0400)
committer
Greg Kroah-Hartman
<gregkh@suse.de>
Tue, 22 Jun 2010 21:33:36 +0000
(14:33 -0700)
VBIOS_VER_MAX_LENGTH was set to 4, but the value "0.84" is strcpy'd
into it. That value is 5 long including the trailing NULL.
Signed-off-by: Bill Pemberton <wfp5p@virginia.edu>
Cc: Arnaud Patard <apatard@mandriva.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/xgifb/vgatypes.h
patch
|
blob
|
history
diff --git
a/drivers/staging/xgifb/vgatypes.h
b/drivers/staging/xgifb/vgatypes.h
index
8702a7a
..
df839ee
100644
(file)
--- a/
drivers/staging/xgifb/vgatypes.h
+++ b/
drivers/staging/xgifb/vgatypes.h
@@
-5,7
+5,7
@@
#include <linux/ioctl.h>
#ifndef VBIOS_VER_MAX_LENGTH
-#define VBIOS_VER_MAX_LENGTH
4
+#define VBIOS_VER_MAX_LENGTH
5
#endif
#ifndef XGI_VB_CHIP_TYPE