]> Git Repo - linux.git/commit
kasan: add macros to simplify checking test constraints
authorAndrey Konovalov <[email protected]>
Wed, 24 Feb 2021 20:05:17 +0000 (12:05 -0800)
committerLinus Torvalds <[email protected]>
Wed, 24 Feb 2021 21:38:31 +0000 (13:38 -0800)
commitda17e377723f50c7acd019e39cfeeca342415714
treee4cbf50c01a3167f566d4e08adf14eeac1f083b4
parent0fd379253691e7bb7c0285a7b87525e1ff6e2fd2
kasan: add macros to simplify checking test constraints

Some KASAN tests require specific kernel configs to be enabled.
Instead of copy-pasting the checks for these configs add a few helper
macros and use them.

Link: https://linux-review.googlesource.com/id/I237484a7fddfedf4a4aae9cc61ecbcdbe85a0a63
Link: https://lkml.kernel.org/r/6a0fcdb9676b7e869cfc415893ede12d916c246c.1610733117.git.andreyknvl@google.com
Signed-off-by: Andrey Konovalov <[email protected]>
Suggested-by: Alexander Potapenko <[email protected]>
Reviewed-by: Marco Elver <[email protected]>
Reviewed-by: Alexander Potapenko <[email protected]>
Cc: Andrey Ryabinin <[email protected]>
Cc: Branislav Rankov <[email protected]>
Cc: Catalin Marinas <[email protected]>
Cc: Dmitry Vyukov <[email protected]>
Cc: Evgenii Stepanov <[email protected]>
Cc: Kevin Brodsky <[email protected]>
Cc: Peter Collingbourne <[email protected]>
Cc: Vincenzo Frascino <[email protected]>
Cc: Will Deacon <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
lib/test_kasan.c
This page took 0.053743 seconds and 4 git commands to generate.