git.samba.org
/
sfrench
/
cifs-2.6.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
[sfrench/cifs-2.6.git]
/
include
/
linux
/
coda_linux.h
diff --git
a/include/linux/coda_linux.h
b/include/linux/coda_linux.h
index be512cc98791a31b85c0317e6f2b19e1e90c3631..4c2632a8d31b97a4fe3cdac74669a106f359e116 100644
(file)
--- a/
include/linux/coda_linux.h
+++ b/
include/linux/coda_linux.h
@@
-64,7
+64,7
@@
void coda_sysctl_clean(void);
#define CODA_ALLOC(ptr, cast, size) do { \
if (size < PAGE_SIZE) \
- ptr =
(cast)
kmalloc((unsigned long) size, GFP_KERNEL); \
+ ptr = kmalloc((unsigned long) size, GFP_KERNEL); \
else \
ptr = (cast)vmalloc((unsigned long) size); \
if (!ptr) \