Re: [PATCH 05/12] xen: make use of xenbus_read_unsigned() in xen-kbdfront

2016-11-08 Thread Dmitry Torokhov
On Mon, Oct 31, 2016 at 05:48:23PM +0100, Juergen Gross wrote: > 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 cas

[PATCH 05/12] xen: make use of xenbus_read_unsigned() in xen-kbdfront

2016-10-31 Thread Juergen Gross
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: dmitry.torok...@gmail.com Cc: linux-in...@vger.kernel.org Sig