Re: [PATCH] drivers/xen/grant-table.c: Be sure of unsigned value never comparing with 0
From: Chen Gang
Date: Wed Aug 27 2014 - 06:22:17 EST
On 8/27/14 18:06, David Vrabel wrote:
>
> Applied to devel/for-linus-3.18 with this description:
>
> 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.
>
OK, thank you very much for your encouragement! And next, I shall try to
provide another patches for Xen (hope I can finish within this month).
And I should be more careful about the patches which I shall send.
Also I want to consult: "Is there a common test for Xen"? If there is,
please let me know, and I should try to perform the common test before
send any patches.
Welcome any additional ideas, suggestions, and completions.
Thanks.
--
Chen Gang
Open, share, and attitude like air, water, and life which God blessed
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/