commit | af308377e204e25f1f58627d05fe0f483703b514 | [log] [tgz] |
---|---|---|
author | Stephen Rothwell <sfr@canb.auug.org.au> | Thu Mar 23 17:38:10 2006 +1100 |
committer | Paul Mackerras <paulus@samba.org> | Mon Mar 27 14:48:08 2006 +1100 |
tree | bed18644cbf621ecb5447e626e6a0957ab363a46 | |
parent | 7c92943c7b6c42fa631ac2b67aeb507e727cd75b [diff] [blame] |
[PATCH] powerpc: fix various sparse warnings Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au> Signed-off-by: Paul Mackerras <paulus@samba.org>
diff --git a/arch/powerpc/kernel/nvram_64.c b/arch/powerpc/kernel/nvram_64.c index fd7db8d..6c3989f6 100644 --- a/arch/powerpc/kernel/nvram_64.c +++ b/arch/powerpc/kernel/nvram_64.c
@@ -174,8 +174,9 @@ return 0; } #endif /* CONFIG_PPC_PMAC */ + default: + return -EINVAL; } - return -EINVAL; } struct file_operations nvram_fops = {