Signed-off-by: Luc Van Oostenryck <luc.vanoostenryck@xxxxxxxxx> --- ptrlist.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ptrlist.c b/ptrlist.c index 5dc1117c5..8402f8d2b 100644 --- a/ptrlist.c +++ b/ptrlist.c @@ -23,7 +23,7 @@ int ptr_list_size(struct ptr_list *head) if (head) { struct ptr_list *list = head; do { - nr += list->nr; + nr += list->nr - list->rm; } while ((list = list->next) != head); } return nr; -- 2.13.2 -- To unsubscribe from this list: send the line "unsubscribe linux-sparse" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html