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]
/
arch
/
parisc
/
hpux
/
sys_hpux.c
diff --git
a/arch/parisc/hpux/sys_hpux.c
b/arch/parisc/hpux/sys_hpux.c
index
d883092
..
04c2ff4
100644
(file)
--- a/
arch/parisc/hpux/sys_hpux.c
+++ b/
arch/parisc/hpux/sys_hpux.c
@@
-475,7
+475,7
@@
int hpux_sysfs(int opcode, unsigned long arg1, unsigned long arg2)
printk(KERN_DEBUG "len of arg1 = %d\n", len);
if (len == 0)
return 0;
- fsname =
(char *)
kmalloc(len, GFP_KERNEL);
+ fsname = kmalloc(len, GFP_KERNEL);
if ( !fsname ) {
printk(KERN_DEBUG "failed to kmalloc fsname\n");
return 0;