Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 100372
b: refs/heads/master
c: 6044c31
h: refs/heads/master
v: v3
  • Loading branch information
Arnd Bergmann authored and Jonathan Corbet committed Jul 2, 2008
1 parent 57b60ad commit 56f1d49
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 7bcc3209be82d69361a944c57caeb548b35c7f04
refs/heads/master: 6044c319d11051f3462dafd0e7a900ef121d7bc7
3 changes: 3 additions & 0 deletions trunk/drivers/parisc/eisa_eeprom.c
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
#include <linux/kernel.h>
#include <linux/miscdevice.h>
#include <linux/slab.h>
#include <linux/smp_lock.h>
#include <linux/fs.h>
#include <asm/io.h>
#include <asm/uaccess.h>
Expand Down Expand Up @@ -83,6 +84,8 @@ static int eisa_eeprom_ioctl(struct inode *inode, struct file *file,

static int eisa_eeprom_open(struct inode *inode, struct file *file)
{
cycle_kernel_lock();

if (file->f_mode & 2)
return -EINVAL;

Expand Down

0 comments on commit 56f1d49

Please sign in to comment.