Tests whether list is the last entry in list head
int list_is_last(const struct list_head * list, const struct list_head * head);
list
the entry to test
head
the head of the list