summaryrefslogtreecommitdiff
path: root/mm/damon/dbgfs.c
diff options
context:
space:
mode:
authorThibaut Sautereau <thibaut.sautereau@ssi.gouv.fr>2021-12-25 08:12:51 +0300
committerLinus Torvalds <torvalds@linux-foundation.org>2021-12-25 23:20:56 +0300
commit595ec1973c276f6c0c1de8aca5eef8dfd81f9b49 (patch)
tree488e6ef636209d2491847bc98eec9020c6193aeb /mm/damon/dbgfs.c
parent94ab10dd42a70acc5208a41325617e3d9cf81a70 (diff)
downloadlinux-595ec1973c276f6c0c1de8aca5eef8dfd81f9b49.tar.xz
mm/page_alloc: fix __alloc_size attribute for alloc_pages_exact_nid
The second parameter of alloc_pages_exact_nid is the one indicating the size of memory pointed by the returned pointer. Link: https://lkml.kernel.org/r/YbjEgwhn4bGblp//@coeus Fixes: abd58f38dfb4 ("mm/page_alloc: add __alloc_size attributes for better bounds checking") Signed-off-by: Thibaut Sautereau <thibaut.sautereau@ssi.gouv.fr> Acked-by: Kees Cook <keescook@chromium.org> Cc: Daniel Micay <danielmicay@gmail.com> Cc: Levente Polyak <levente@leventepolyak.net> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/damon/dbgfs.c')
0 files changed, 0 insertions, 0 deletions