diff options
author | Chen Gang <[email protected]> | 2014-08-26 23:38:44 +0800 |
---|---|---|
committer | Stefano Stabellini <[email protected]> | 2014-09-23 13:36:18 +0000 |
commit | 46e3626adb86be2ff1321d26107cb75df07a7f4e (patch) | |
tree | 8f8c4086c020ba9f22e180b8177e7d2816aad5a4 /lib/test-string_helpers.c | |
parent | 4fbb67e3c87b806ad54445a1b4a9c6bde2359c98 (diff) |
xen/grant-table: refactor error cleanup in grow_gnttab_list()
The cleanup loop in grow_gnttab_list() is safe from the underflow of
the unsigned 'i' since nr_glist_frames is >= 1, but refactor it
anyway.
Signed-off-by: Chen Gang <[email protected]>
Signed-off-by: David Vrabel <[email protected]>
Diffstat (limited to 'lib/test-string_helpers.c')
0 files changed, 0 insertions, 0 deletions