summaryrefslogtreecommitdiffstats
path: root/lib/lru_cache.c
diff options
context:
space:
mode:
authordavidgow@google.com <davidgow@google.com>2023-12-15 15:39:09 +0800
committerShuah Khan <skhan@linuxfoundation.org>2023-12-18 13:28:08 -0700
commit46ee8f688e43d1b3a81a3494e59f9861d4de73bf (patch)
tree5a94f3c27c15136321381551898aa90febdf4fb8 /lib/lru_cache.c
parentd03c720e03bd9bf0b784d80b5d3ede7e2daf3b6e (diff)
downloadlinux-stable-46ee8f688e43d1b3a81a3494e59f9861d4de73bf.tar.gz
linux-stable-46ee8f688e43d1b3a81a3494e59f9861d4de73bf.tar.bz2
linux-stable-46ee8f688e43d1b3a81a3494e59f9861d4de73bf.zip
fortify: test: Use kunit_device
Using struct root_device to create fake devices for tests is something of a hack. The new struct kunit_device is meant for this purpose, so use it instead. Reviewed-by: Matti Vaittinen <mazziesaccount@gmail.com> Acked-by: Kees Cook <keescook@chromium.org> Signed-off-by: David Gow <davidgow@google.com> Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
Diffstat (limited to 'lib/lru_cache.c')
0 files changed, 0 insertions, 0 deletions