summaryrefslogtreecommitdiff
path: root/drivers/char/tpm/xen-tpmfront.c
diff options
context:
space:
mode:
authorJuergen Gross <jgross@suse.com>2016-10-31 16:58:40 +0300
committerJuergen Gross <jgross@suse.com>2016-11-07 15:55:09 +0300
commitf27dc1ac56865c2cc43d0ec3110a2b4a95b04e1d (patch)
tree2459ab90258257b0bc58d8263960ca7f53988774 /drivers/char/tpm/xen-tpmfront.c
parent8235777b2068e3280b6fa1413f1940ade31f0adf (diff)
downloadlinux-f27dc1ac56865c2cc43d0ec3110a2b4a95b04e1d.tar.xz
xen: make use of xenbus_read_unsigned() in xen-blkfront
Use xenbus_read_unsigned() instead of xenbus_scanf() when possible. This requires to change the type of some reads from int to unsigned, but these cases have been wrong before: negative values are not allowed for the modified cases. Cc: konrad.wilk@oracle.com Cc: roger.pau@citrix.com Signed-off-by: Juergen Gross <jgross@suse.com> Acked-by: David Vrabel <david.vrabel@citrix.com>
Diffstat (limited to 'drivers/char/tpm/xen-tpmfront.c')
0 files changed, 0 insertions, 0 deletions