summaryrefslogtreecommitdiff
path: root/Kernel/Memory/ScatterGatherList.h
diff options
context:
space:
mode:
Diffstat (limited to 'Kernel/Memory/ScatterGatherList.h')
-rw-r--r--Kernel/Memory/ScatterGatherList.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Kernel/Memory/ScatterGatherList.h b/Kernel/Memory/ScatterGatherList.h
index f90876957a..6fedb75cad 100644
--- a/Kernel/Memory/ScatterGatherList.h
+++ b/Kernel/Memory/ScatterGatherList.h
@@ -19,7 +19,7 @@ namespace Kernel::Memory {
class ScatterGatherList : public RefCounted<ScatterGatherList> {
public:
static RefPtr<ScatterGatherList> try_create(AsyncBlockDeviceRequest&, Span<NonnullRefPtr<PhysicalPage>> allocated_pages, size_t device_block_size);
- const VMObject& vmobject() const { return m_vm_object; }
+ VMObject const& vmobject() const { return m_vm_object; }
VirtualAddress dma_region() const { return m_dma_region->vaddr(); }
size_t scatters_count() const { return m_vm_object->physical_pages().size(); }