Graham Gower 1e0ad2881d drivers/char/vt_ioctl.c: fix VT_OPENQRY error value
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>
2010-10-27 18:03:05 -07:00
..
2010-10-26 16:52:04 -07:00
2010-10-15 15:53:27 +02:00
2010-08-10 13:47:40 -07:00
2010-10-14 14:48:12 -04:00
2010-08-10 13:47:40 -07:00
2010-10-22 10:20:02 -07:00
2010-10-22 10:20:02 -07:00
2010-10-15 15:53:27 +02:00
2010-10-15 15:53:27 +02:00
2010-08-10 13:47:43 -07:00
2010-08-10 13:47:39 -07:00
2010-05-27 09:12:50 -07:00
2010-10-15 15:53:27 +02:00
2010-08-10 13:47:40 -07:00
2010-08-23 18:17:21 -07:00
2009-02-22 09:23:02 -08:00
2010-08-10 13:47:44 -07:00
2010-10-15 15:53:27 +02:00
2010-10-15 15:53:27 +02:00
2010-10-22 10:20:04 -07:00
2010-08-10 13:47:44 -07:00
2010-10-22 10:20:02 -07:00