mm/page_alloc.c: use list_{first,last}_entry instead of list_entry
authorGeliang Tang <geliangtang@163.com>
Thu, 14 Jan 2016 23:20:30 +0000 (15:20 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 15 Jan 2016 00:00:49 +0000 (16:00 -0800)
commita16601c5458eb702f26cd48b9e8e1a9471700e72
treed45488fe89564ec88182597bbaafbc133b020e00
parent6ac0206bc0d13381e3ede3594bc0a3f8cd1d8ec9
mm/page_alloc.c: use list_{first,last}_entry instead of list_entry

To make the intention clearer, use list_{first,last}_entry instead of
list_entry.

Signed-off-by: Geliang Tang <geliangtang@163.com>
Acked-by: Michal Hocko <mhocko@suse.com>
Acked-by: Mel Gorman <mgorman@techsingularity.net>
Acked-by: David Rientjes <rientjes@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/page_alloc.c