From 0621c44e439bedf034399e1bff139ef506039eba Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Sat, 14 Nov 2020 22:27:59 +0100 Subject: Some fixes I WAS BUG-SEARCHING FOR SEVERAL HOURS WHYYYY, WHEEERE, AAAAAH --- kernel/drivers/rtl8139.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'kernel/drivers/rtl8139.c') diff --git a/kernel/drivers/rtl8139.c b/kernel/drivers/rtl8139.c index b870825..fb60865 100644 --- a/kernel/drivers/rtl8139.c +++ b/kernel/drivers/rtl8139.c @@ -12,9 +12,9 @@ #include static int rtl_irq = 0; -static u8 mac[6]; +static u8 mac[6] = { 0 }; static u8 *last_packet = NULL; -static u8 *rtl_rx_buffer; +static u8 *rtl_rx_buffer = NULL; static u32 rtl_device_pci = 0; static u32 rtl_iobase = 0; static u32 cur_rx = 0; -- cgit v1.2.3