xen: make use of xenbus_read_unsigned() in xen-fbfront
authorJuergen Gross <jgross@suse.com>
Mon, 31 Oct 2016 13:58:41 +0000 (14:58 +0100)
committerJuergen Gross <jgross@suse.com>
Mon, 7 Nov 2016 12:55:32 +0000 (13:55 +0100)
commiteaf46e181ec3cc3b6eafdbe8e30fb5a03ebbde68
tree6e08254aba639d64b440630715e436e4779b5f04
parent1080b38db49f7e3075aa9cd5a87f1587282cc0b0
xen: make use of xenbus_read_unsigned() in xen-fbfront

Use xenbus_read_unsigned() instead of xenbus_scanf() when possible.
This requires to change the type of the reads from int to unsigned,
but these cases have been wrong before: negative values are not allowed
for the modified cases.

Cc: tomi.valkeinen@ti.com
Cc: linux-fbdev@vger.kernel.org
Signed-off-by: Juergen Gross <jgross@suse.com>
Acked-by: David Vrabel <david.vrabel@citrix.com>
drivers/video/fbdev/xen-fbfront.c