mirror of https://gitee.com/openkylin/linux.git
Staging: xgifb: increase VBIOS_VER_MAX_LENGTH to 5
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>
This commit is contained in:
parent
6eed8dc793
commit
6e5db771e1
|
@ -5,7 +5,7 @@
|
||||||
#include <linux/ioctl.h>
|
#include <linux/ioctl.h>
|
||||||
|
|
||||||
#ifndef VBIOS_VER_MAX_LENGTH
|
#ifndef VBIOS_VER_MAX_LENGTH
|
||||||
#define VBIOS_VER_MAX_LENGTH 4
|
#define VBIOS_VER_MAX_LENGTH 5
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef XGI_VB_CHIP_TYPE
|
#ifndef XGI_VB_CHIP_TYPE
|
||||||
|
|
Loading…
Reference in New Issue