mirror of
https://github.com/torvalds/linux.git
synced 2026-06-08 14:42:37 +02:00
vflash: modify out of memory bug
This commit is contained in:
parent
1bdf414f0e
commit
2b6bc330c1
|
|
@ -78,7 +78,7 @@ static long vflash_ioctl(struct file *file,
|
|||
}
|
||||
#else
|
||||
char *tempBuf = (char *)kmalloc(512, GFP_KERNEL);
|
||||
char bd_addr[6] = {0};
|
||||
char bd_addr[7] = {0};
|
||||
int i;
|
||||
|
||||
GetSNSectorInfo(tempBuf);
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user