[PATCH 162/524] Staging: xgifb: increase VBIOS_VER_MAX_LENGTH to 5
Greg Kroah-Hartman
gregkh at suse.de
Thu Aug 5 15:19:05 PDT 2010
From: Bill Pemberton <wfp5p at virginia.edu>
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 at virginia.edu>
Cc: Arnaud Patard <apatard at mandriva.com>
Signed-off-by: Greg Kroah-Hartman <gregkh at suse.de>
---
drivers/staging/xgifb/vgatypes.h | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/staging/xgifb/vgatypes.h b/drivers/staging/xgifb/vgatypes.h
index 8702a7a..df839ee 100644
--- 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
--
1.7.1
More information about the devel
mailing list