diff options
author | Andrew Scull <ascull@google.com> | 2022-05-16 10:41:40 +0000 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2022-06-08 09:24:04 -0400 |
commit | d036104a02995efe416dd5ada503408ae37b56a5 (patch) | |
tree | 7967ae792497f0618b8ec3e2c22a0721cbcdae29 /test/dm/Makefile | |
parent | 43937a4f5e411b3a82014fe0fa78ef4de90b11c2 (diff) |
test: dm: virtio_rng: Test virtio-rng with faked device
Add a regression test for virtio-rng reading beyond the end of its
buffer if the virtio device provides an invalid length.
Signed-off-by: Andrew Scull <ascull@google.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'test/dm/Makefile')
-rw-r--r-- | test/dm/Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/dm/Makefile b/test/dm/Makefile index 809f0f239fa..caea52f4e2a 100644 --- a/test/dm/Makefile +++ b/test/dm/Makefile @@ -110,6 +110,7 @@ obj-$(CONFIG_DM_VIDEO) += video.o ifeq ($(CONFIG_VIRTIO_SANDBOX),y) obj-y += virtio.o obj-$(CONFIG_VIRTIO_RNG) += virtio_device.o +obj-$(CONFIG_VIRTIO_RNG) += virtio_rng.o endif ifeq ($(CONFIG_WDT_GPIO)$(CONFIG_WDT_SANDBOX),yy) obj-y += wdt.o |