]> git.baikalelectronics.ru Git - kernel.git/commit
include/linux/memblock.h: fix ordering of 'flags' argument in comments
authorFlorian Fainelli <f.fainelli@gmail.com>
Thu, 14 Jan 2016 23:22:04 +0000 (15:22 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 15 Jan 2016 00:00:49 +0000 (16:00 -0800)
commit482137b05c0096a87838d967c63ad1ad46c313c3
tree482c967398d89218f2ce5b7cde79d01ea89ad5d9
parent491b2f9b0270bbdc6d035621a433e516a2e715d8
include/linux/memblock.h: fix ordering of 'flags' argument in comments

for_each_free_mem_range() and for_each_free_mem_range_reverse() both
accept a 'flags' argument, the comment surrounding the macro placed the
'flags' documentation at the very end, while 'flags' is in fact the 3rd
argument to the macro, so let's preserve natural ordering here.

Fixes: 99cf436073461 ("mm/memblock: add extra "flags" to memblock to allow selection of memory based on attribute")
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/linux/memblock.h