Skip to content
Commit a16601c5 authored by Geliang Tang's avatar Geliang Tang Committed by Linus Torvalds
Browse files

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: default avatarGeliang Tang <geliangtang@163.com>
Acked-by: default avatarMichal Hocko <mhocko@suse.com>
Acked-by: default avatarMel Gorman <mgorman@techsingularity.net>
Acked-by: default avatarDavid Rientjes <rientjes@google.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 6ac0206b
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment