Merge branch 'fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/parisc-2.6
[pandora-kernel.git] / drivers / char / nvram.c
index 166f1e7..da3cfee 100644 (file)
@@ -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;