summaryrefslogtreecommitdiff
path: root/Kernel/VirtIO
diff options
context:
space:
mode:
authorBrian Gianforcaro <bgianf@serenityos.org>2021-06-09 00:56:00 -0700
committerAndreas Kling <kling@serenityos.org>2021-06-09 10:57:51 +0200
commit7e88ac63b9ae18fbb33f36f1f157e5ba0d20aebf (patch)
treec702ea099af3609ccc2424e2fde0ed2a0e88cc0a /Kernel/VirtIO
parentd27cecd729fdf7ad5b9df6f57c7a314ec5dd98b5 (diff)
downloadserenity-7e88ac63b9ae18fbb33f36f1f157e5ba0d20aebf.zip
Kernel: Mark VirtIORNG constructor as UNMAP_AFTER_INIT
Diffstat (limited to 'Kernel/VirtIO')
-rw-r--r--Kernel/VirtIO/VirtIORNG.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Kernel/VirtIO/VirtIORNG.cpp b/Kernel/VirtIO/VirtIORNG.cpp
index cbaa6eb853..8ce4d88048 100644
--- a/Kernel/VirtIO/VirtIORNG.cpp
+++ b/Kernel/VirtIO/VirtIORNG.cpp
@@ -8,7 +8,7 @@
namespace Kernel {
-VirtIORNG::VirtIORNG(PCI::Address address)
+UNMAP_AFTER_INIT VirtIORNG::VirtIORNG(PCI::Address address)
: CharacterDevice(10, 183)
, VirtIODevice(address, "VirtIORNG")
{