diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2014-09-08 13:17:35 +0200 |
---|---|---|
committer | Stefano Stabellini <stefano.stabellini@eu.citrix.com> | 2014-09-23 15:36:20 +0200 |
commit | 495daef902425e241a0b95791f3aeb737928256a (patch) | |
tree | b6a51af18f516b4e56d481ba0244a02ebf081bc3 /drivers/xen/efi.c | |
parent | xen-scsifront: use GFP_ATOMIC under spin_lock (diff) | |
download | linux-495daef902425e241a0b95791f3aeb737928256a.tar.xz linux-495daef902425e241a0b95791f3aeb737928256a.zip |
xen-scsiback: clean up a type issue in scsiback_make_tpg()
This code was confusing because we had an unsigned long and then we
compared it to UINT_MAX and then we stored it in a u16. How many bytes
is this supposed to have: 2, 4 or 16???
I've made it a u16 throughout.
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Reviewed-by: Juergen Gross <jgross@suse.com>
Signed-off-by: David Vrabel <david.vrabel@citrix.com>
Diffstat (limited to 'drivers/xen/efi.c')
0 files changed, 0 insertions, 0 deletions