Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 376743
b: refs/heads/master
c: f448803
h: refs/heads/master
i:
  376741: 25790cb
  376739: 945375f
  376735: 60eb624
v: v3
  • Loading branch information
Johan Hovold authored and Greg Kroah-Hartman committed Jun 5, 2013
1 parent 509545d commit 98e36a7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 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: a26f009a070e840fadacb91013b2391ba7ab6cc2
refs/heads/master: f4488035abdac56682153aa0cff3d1dce84e1c54
4 changes: 1 addition & 3 deletions trunk/drivers/usb/serial/usb-serial.c
Original file line number Diff line number Diff line change
Expand Up @@ -408,7 +408,7 @@ static int serial_ioctl(struct tty_struct *tty,
unsigned int cmd, unsigned long arg)
{
struct usb_serial_port *port = tty->driver_data;
int retval = -ENODEV;
int retval = -ENOIOCTLCMD;

dev_dbg(tty->dev, "%s - cmd 0x%.4x\n", __func__, cmd);

Expand All @@ -420,8 +420,6 @@ static int serial_ioctl(struct tty_struct *tty,
default:
if (port->serial->type->ioctl)
retval = port->serial->type->ioctl(tty, cmd, arg);
else
retval = -ENOIOCTLCMD;
}

return retval;
Expand Down

0 comments on commit 98e36a7

Please sign in to comment.