]> git.proxmox.com Git - mirror_ubuntu-eoan-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)
commitd30b5545bdcf802ffc24ec7dbc6dc4036f6e3820
tree482c967398d89218f2ce5b7cde79d01ea89ad5d9
parentd72ee911130631b50a8ccc615a7d4622c2062194
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: fc6daaf931518 ("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