]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit9805ed424a6941ba3707c92c736728d009a8d784
tree6e08254aba639d64b440630715e436e4779b5f04
parent0aeb63416ed490ea2be8d78356aba2eccd74fb12
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