The patch titled Subject: mm/hugetlb.c: use long vars instead of int in region_count() has been added to the -mm tree. Its filename is mm-hugetlbc-cleanup-to-use-long-vars-instead-of-int-in-region_count.patch Before you just go and hit "reply", please: a) Consider who else should be cc'ed b) Prefer to cc a suitable mailing list as well c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's *** Remember to use Documentation/SubmitChecklist when testing your code *** The -mm tree is included into linux-next and is updated there every 3-4 working days ------------------------------------------------------ From: Wang Sheng-Hui <shhuiw@xxxxxxxxx> Subject: mm/hugetlb.c: use long vars instead of int in region_count() args f & t and fields from & to of struct file_region are defined as long. Use long instead of int to type the temp vars. Signed-off-by: Wang Sheng-Hui <shhuiw@xxxxxxxxx> Acked-by: David Rientjes <rientjes@xxxxxxxxxx> Acked-by: Hillf Danton <dhillf@xxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- mm/hugetlb.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff -puN mm/hugetlb.c~mm-hugetlbc-cleanup-to-use-long-vars-instead-of-int-in-region_count mm/hugetlb.c --- a/mm/hugetlb.c~mm-hugetlbc-cleanup-to-use-long-vars-instead-of-int-in-region_count +++ a/mm/hugetlb.c @@ -273,8 +273,8 @@ static long region_count(struct list_hea /* Locate each segment we overlap with, and count that overlap. */ list_for_each_entry(rg, head, link) { - int seg_from; - int seg_to; + long seg_from; + long seg_to; if (rg->to <= f) continue; _ Subject: Subject: mm/hugetlb.c: use long vars instead of int in region_count() Patches currently in -mm which might be from shhuiw@xxxxxxxxx are mm-hugetlbc-cleanup-to-use-long-vars-instead-of-int-in-region_count.patch -- To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html