Re: [PATCH v3 11/15] kasan: move _RET_IP_ to inline wrappers

From
Alexander Potapenko <glider@google.com>
Date
2021-01-15 14:09:06
Also in
linux-mm, lkml
Reply to
Marco Elver, 2021-01-15
On Fri, Jan 15, 2021 at 2:19 PM Marco Elver [off-list ref] wrote:
On Thu, Jan 14, 2021 at 08:36PM +0100, Andrey Konovalov wrote:
quoted
Generic mm functions that call KASAN annotations that might report a bug
pass _RET_IP_ to them as an argument. This allows KASAN to include the
name of the function that called the mm function in its report's header.

Now that KASAN has inline wrappers for all of its annotations, move
_RET_IP_ to those wrappers to simplify annotation call sites.

Link: https://linux-review.googlesource.com/id/I8fb3c06d49671305ee184175a39591bc26647a67
Signed-off-by: Andrey Konovalov <redacted>
Much nicer!

Reviewed-by: Marco Elver <elver@google.com>
Reviewed-by: Alexander Potapenko <glider@google.com>

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Thread (28 messages) 28 messages, 3 authors, last reply 2021-01-15
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help