projects
/
powerpc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[PATCH] getting rid of all casts of k[cmz]alloc() calls
[powerpc.git]
/
drivers
/
net
/
wireless
/
hostap
/
hostap_ap.c
diff --git
a/drivers/net/wireless/hostap/hostap_ap.c
b/drivers/net/wireless/hostap/hostap_ap.c
index
974a8e5
..
efb8cf3
100644
(file)
--- a/
drivers/net/wireless/hostap/hostap_ap.c
+++ b/
drivers/net/wireless/hostap/hostap_ap.c
@@
-1253,7
+1253,7
@@
static char * ap_auth_make_challenge(struct ap_data *ap)
return NULL;
}
- tmpbuf =
(char *)
kmalloc(WLAN_AUTH_CHALLENGE_LEN, GFP_ATOMIC);
+ tmpbuf = kmalloc(WLAN_AUTH_CHALLENGE_LEN, GFP_ATOMIC);
if (tmpbuf == NULL) {
PDEBUG(DEBUG_AP, "AP: kmalloc failed for challenge\n");
return NULL;