Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 33183
b: refs/heads/master
c: 95349fe
h: refs/heads/master
i:
  33181: dced69f
  33179: f3793df
  33175: e9417af
  33167: c14a2cf
  33151: 018dfd9
v: v3
  • Loading branch information
Dmitry Torokhov committed Jul 7, 2006
1 parent 6aa912e commit 1796710
Show file tree
Hide file tree
Showing 2 changed files with 6 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: 699756199d65700e8deed59ae250439ca8684686
refs/heads/master: 95349fe8144b7d18f04bdca1c2d3fb85789de4fb
5 changes: 5 additions & 0 deletions trunk/drivers/input/serio/libps2.c
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,11 @@ int ps2_command(struct ps2dev *ps2dev, unsigned char *param, int command)
return -1;
}

if (send && !param) {
WARN_ON(1);
return -1;
}

mutex_lock_nested(&ps2dev->cmd_mutex, SINGLE_DEPTH_NESTING);

serio_pause_rx(ps2dev->serio);
Expand Down

0 comments on commit 1796710

Please sign in to comment.