Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 77135
b: refs/heads/master
c: fd66c1b
h: refs/heads/master
i:
  77133: bb31fca
  77131: f23f058
  77127: d028240
  77119: d7ec87f
v: v3
  • Loading branch information
Kai Makisara authored and James Bottomley committed Jan 23, 2008
1 parent 24bb2b8 commit d0514f9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 8ce3eca4dc8161e030a055bde94cde28476e0894
refs/heads/master: fd66c1b4e491a2a17d7a420fa38fd04b0e8d36c1
9 changes: 4 additions & 5 deletions trunk/drivers/scsi/st.c
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,15 @@
Steve Hirsch, Andreas Koppenh"ofer, Michael Leodolter, Eyal Lebedinsky,
Michael Schaefer, J"org Weule, and Eric Youngdale.
Copyright 1992 - 2007 Kai Makisara
Copyright 1992 - 2008 Kai Makisara
email Kai.Makisara@kolumbus.fi
Some small formal changes - aeb, 950809
Last modified: 18-JAN-1998 Richard Gooch <rgooch@atnf.csiro.au> Devfs support
*/

static const char *verstr = "20070203";
static const char *verstr = "20080117";

#include <linux/module.h>

Expand Down Expand Up @@ -3214,8 +3214,7 @@ static int partition_tape(struct scsi_tape *STp, int size)


/* The ioctl command */
static int st_ioctl(struct inode *inode, struct file *file,
unsigned int cmd_in, unsigned long arg)
static long st_ioctl(struct file *file, unsigned int cmd_in, unsigned long arg)
{
int i, cmd_nr, cmd_type, bt;
int retval = 0;
Expand Down Expand Up @@ -3870,7 +3869,7 @@ static const struct file_operations st_fops =
.owner = THIS_MODULE,
.read = st_read,
.write = st_write,
.ioctl = st_ioctl,
.unlocked_ioctl = st_ioctl,
#ifdef CONFIG_COMPAT
.compat_ioctl = st_compat_ioctl,
#endif
Expand Down

0 comments on commit d0514f9

Please sign in to comment.