git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8881cdc
)
drivers/char/vt_ioctl.c: fix VT_OPENQRY error value
author
Graham Gower
<graham.gower@gmail.com>
Wed, 27 Oct 2010 22:33:00 +0000
(15:33 -0700)
committer
Linus Torvalds
<torvalds@linux-foundation.org>
Thu, 28 Oct 2010 01:03:05 +0000
(18:03 -0700)
When all VT's are in use, VT_OPENQRY casts -1 to unsigned char before
returning it to userspace as an int. VT255 is not the next available
console.
Signed-off-by: Graham Gower <graham.gower@gmail.com>
Cc: Greg KH <greg@kroah.com>
Cc: <stable@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
No differences found