From: Chen Gang Date: Tue, 26 Aug 2014 15:38:44 +0000 (+0800) Subject: xen/grant-table: refactor error cleanup in grow_gnttab_list() X-Git-Tag: fixes-against-v3.18-rc2~118^2~20 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=46e3626adb86be2ff1321d26107cb75df07a7f4e;p=pandora-kernel.git 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 Signed-off-by: David Vrabel --- Reading git-diff-tree failed