diff options
Diffstat (limited to 'arch/parisc/hpux/sys_hpux.c')
-rw-r--r-- | arch/parisc/hpux/sys_hpux.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/parisc/hpux/sys_hpux.c b/arch/parisc/hpux/sys_hpux.c index d88309209f56..04c2ff444396 100644 --- 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) | |||
475 | printk(KERN_DEBUG "len of arg1 = %d\n", len); | 475 | printk(KERN_DEBUG "len of arg1 = %d\n", len); |
476 | if (len == 0) | 476 | if (len == 0) |
477 | return 0; | 477 | return 0; |
478 | fsname = (char *) kmalloc(len, GFP_KERNEL); | 478 | fsname = kmalloc(len, GFP_KERNEL); |
479 | if ( !fsname ) { | 479 | if ( !fsname ) { |
480 | printk(KERN_DEBUG "failed to kmalloc fsname\n"); | 480 | printk(KERN_DEBUG "failed to kmalloc fsname\n"); |
481 | return 0; | 481 | return 0; |