From 62a25aa46d9ddf2b976c74273d8ff35f725e8d84 Mon Sep 17 00:00:00 2001 From: RatcheT2497 Date: Wed, 15 Jan 2025 20:10:24 +0100 Subject: [PATCH] Kernel/RTL8168: Change wrong u32 mmio reads to u8 Crash caused by erroneous reading of a few 8bit registers as 32bit, causing an unaligned access panic. --- Kernel/Net/Realtek/RTL8168NetworkAdapter.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Kernel/Net/Realtek/RTL8168NetworkAdapter.cpp b/Kernel/Net/Realtek/RTL8168NetworkAdapter.cpp index 74cfba4dc7b..0bded1875a1 100644 --- a/Kernel/Net/Realtek/RTL8168NetworkAdapter.cpp +++ b/Kernel/Net/Realtek/RTL8168NetworkAdapter.cpp @@ -299,7 +299,7 @@ UNMAP_AFTER_INIT ErrorOr RTL8168NetworkAdapter::initialize(Badge RTL8168NetworkAdapter::initialize(Badge RTL8168NetworkAdapter::initialize(Badge RTL8168NetworkAdapter::initialize(Badge