summaryrefslogtreecommitdiff
path: root/include/linux/coda_linux.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/coda_linux.h')
-rw-r--r--include/linux/coda_linux.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/coda_linux.h b/include/linux/coda_linux.h
index be512cc98791..4c2632a8d31b 100644
--- 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) \