]> www.infradead.org Git - users/jedix/linux-maple.git/commit
xen: introduce xenbus_read_unsigned()
authorJuergen Gross <jgross@suse.com>
Mon, 31 Oct 2016 13:58:40 +0000 (14:58 +0100)
committerBoris Ostrovsky <boris.ostrovsky@oracle.com>
Fri, 3 Feb 2017 20:55:27 +0000 (15:55 -0500)
commit05277b32a1d04b058e773018900879d602c3daaf
tree697e8013abeb9d3172d93c4a1e8c9b6fa770a252
parent1355cbfafead51d56b070c923927c5e5758c1615
xen: introduce xenbus_read_unsigned()

There are multiple instances of code reading an optional unsigned
parameter from Xenstore via xenbus_scanf(). Instead of repeating the
same code over and over add a service function doing the job.

Signed-off-by: Juergen Gross <jgross@suse.com>
Reviewed-by: David Vrabel <david.vrabel@citrix.com>
OraBug: 25497392

(cherry picked from commit 9c53a1792a5e6c708897d0cb17f2a4509e499a52)
Signed-off-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>
drivers/xen/xenbus/xenbus_xs.c
include/xen/xenbus.h