From a9710cb73cc9ecadaff241428a39a26935cb5c0a Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Thu, 25 Feb 2021 20:45:10 +0100 Subject: Applied even more warning flags! Fixing all the warnings wasn't that easy actually.. --- kernel/drivers/rtl8139.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'kernel/drivers/rtl8139.c') diff --git a/kernel/drivers/rtl8139.c b/kernel/drivers/rtl8139.c index 1f9eed9..753bd6a 100644 --- a/kernel/drivers/rtl8139.c +++ b/kernel/drivers/rtl8139.c @@ -82,8 +82,9 @@ static void rtl8139_find(u32 device, u16 vendor_id, u16 device_id, void *extra) } } -static void rtl8139_irq_handler() +static void rtl8139_irq_handler(struct regs *r) { + UNUSED(r); u16 status = inw(rtl_iobase + RTL_PORT_ISR); if (!status) return; -- cgit v1.2.3