aboutsummaryrefslogtreecommitdiff
path: root/lib/test-string_helpers.c
diff options
context:
space:
mode:
authorDan Carpenter <[email protected]>2014-09-08 14:17:35 +0300
committerStefano Stabellini <[email protected]>2014-09-23 13:36:20 +0000
commit495daef902425e241a0b95791f3aeb737928256a (patch)
treeb6a51af18f516b4e56d481ba0244a02ebf081bc3 /lib/test-string_helpers.c
parentd9b1e6374b3a9b88774e30d0c6bf6e394cd10b76 (diff)
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 <[email protected]> Reviewed-by: Juergen Gross <[email protected]> Signed-off-by: David Vrabel <[email protected]>
Diffstat (limited to 'lib/test-string_helpers.c')
0 files changed, 0 insertions, 0 deletions