Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 317327
b: refs/heads/master
c: e888fab
h: refs/heads/master
i:
  317325: 8d9aed9
  317323: 101430d
  317319: a379df3
  317311: 88f0398
v: v3
  • Loading branch information
Chris Yungmann authored and Greg Kroah-Hartman committed Jun 13, 2012
1 parent c8b941c commit b3de571
Show file tree
Hide file tree
Showing 2 changed files with 4 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: a2c49a9ac993fa2b4795890d5fa56f2fc002453e
refs/heads/master: e888fabd10cdd46a4b46bcc029c5c6d2364dab7f
6 changes: 3 additions & 3 deletions trunk/drivers/staging/speakup/selection.c
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ int speakup_set_selection(struct tty_struct *tty)
if (spk_sel_cons != vc_cons[fg_console].d) {
speakup_clear_selection();
spk_sel_cons = vc_cons[fg_console].d;
printk(KERN_WARNING
dev_warn(tty->dev,
"Selection: mark console not the same as cut\n");
return -EINVAL;
}
Expand All @@ -95,7 +95,7 @@ int speakup_set_selection(struct tty_struct *tty)
/* Allocate a new buffer before freeing the old one ... */
bp = kmalloc((sel_end-sel_start)/2+1, GFP_ATOMIC);
if (!bp) {
printk(KERN_WARNING "selection: kmalloc() failed\n");
dev_warn(tty->dev, "selection: kmalloc() failed\n");
speakup_clear_selection();
return -ENOMEM;
}
Expand Down Expand Up @@ -141,7 +141,7 @@ int speakup_paste_selection(struct tty_struct *tty)
count = sel_buffer_lth - pasted;
count = min_t(int, count, tty->receive_room);
tty->ldisc->ops->receive_buf(tty, sel_buffer + pasted,
0, count);
NULL, count);
pasted += count;
}
remove_wait_queue(&vc->paste_wait, &wait);
Expand Down

0 comments on commit b3de571

Please sign in to comment.