git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/parisc-2.6
[pandora-kernel.git]
/
drivers
/
char
/
nvram.c
diff --git
a/drivers/char/nvram.c
b/drivers/char/nvram.c
index
166f1e7
..
da3cfee
100644
(file)
--- a/
drivers/char/nvram.c
+++ b/
drivers/char/nvram.c
@@
-224,6
+224,8
@@
static loff_t nvram_llseek(struct file *file, loff_t offset, int origin)
case 2:
offset += NVRAM_BYTES;
break;
+ default:
+ return -EINVAL;
}
return (offset >= 0) ? (file->f_pos = offset) : -EINVAL;