]> www.infradead.org Git - users/willy/linux.git/commit
kasan: update kasan_poison documentation comment
authorAndrey Konovalov <andreyknvl@google.com>
Thu, 21 Dec 2023 20:04:47 +0000 (21:04 +0100)
committerAndrew Morton <akpm@linux-foundation.org>
Fri, 29 Dec 2023 19:58:44 +0000 (11:58 -0800)
commit1a55836a1b002298714dc84032b3d19d9bbc2d66
treef622f1c19ebb0e2da31fb662e67ed5eae1c56e40
parent3067b919ed81e17b8b8fb932c43f200775b1d545
kasan: update kasan_poison documentation comment

The comment for kasan_poison says that the size argument gets aligned by
the function to KASAN_GRANULE_SIZE, which is wrong: the argument must be
already aligned when it is passed to the function.

Remove the invalid part of the comment.

Link: https://lkml.kernel.org/r/992a302542059fc40d86ea560eac413ecb31b6a1.1703188911.git.andreyknvl@google.com
Signed-off-by: Andrey Konovalov <andreyknvl@google.com>
Cc: Alexander Potapenko <glider@google.com>
Cc: Andrey Ryabinin <ryabinin.a.a@gmail.com>
Cc: Dmitry Vyukov <dvyukov@google.com>
Cc: Marco Elver <elver@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
mm/kasan/kasan.h