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
/
wpactl.c
diff --git
a/drivers/staging/vt6655/wpactl.c
b/drivers/staging/vt6655/wpactl.c
index
574e0b0
..
4e886c1
100644
(file)
--- a/
drivers/staging/vt6655/wpactl.c
+++ b/
drivers/staging/vt6655/wpactl.c
@@
-905,7
+905,7
@@
int wpa_ioctl(PSDevice pDevice, struct iw_point *p)
p->length > VIAWGET_WPA_MAX_BUF_SIZE || !p->pointer)
return -EINVAL;
- param =
(struct viawget_wpa_param *)
kmalloc((int)p->length, (int)GFP_KERNEL);
+ param = kmalloc((int)p->length, (int)GFP_KERNEL);
if (param == NULL)
return -ENOMEM;