git://ftp.safe.ca
/
safe
/
jmp
/
linux-2.6
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Staging: Drop memory allocation cast
[safe/jmp/linux-2.6]
/
drivers
/
staging
/
vt6655
/
device_main.c
diff --git
a/drivers/staging/vt6655/device_main.c
b/drivers/staging/vt6655/device_main.c
index
7020ed4
..
f690fc2
100644
(file)
--- a/
drivers/staging/vt6655/device_main.c
+++ b/
drivers/staging/vt6655/device_main.c
@@
-3025,7
+3025,7
@@
int Config_FileOperation(PSDevice pDevice,BOOL fwrite,unsigned char *Parameter)
goto error1;
}
-buffer =
(UCHAR *)
kmalloc(1024, GFP_KERNEL);
+buffer = kmalloc(1024, GFP_KERNEL);
if(buffer==NULL) {
printk("alllocate mem for file fail?\n");
result = -1;