summaryrefslogtreecommitdiff
path: root/src/kernel/arch
diff options
context:
space:
mode:
authordzwdz2023-02-23 18:36:11 +0100
committerdzwdz2023-02-23 18:36:11 +0100
commit7f4cdc65a390c5bacab00cc38100d66637394476 (patch)
tree3d280dbd1cf67a0f7a3c73e319d7ba4d20f4b198 /src/kernel/arch
parent55224307bf9b3e4231daca9ad4c4e3b6d734869b (diff)
fix: misc warnings
Diffstat (limited to 'src/kernel/arch')
-rw-r--r--src/kernel/arch/amd64/driver/rtl8139.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/kernel/arch/amd64/driver/rtl8139.c b/src/kernel/arch/amd64/driver/rtl8139.c
index 8a40f28..09b0ca5 100644
--- a/src/kernel/arch/amd64/driver/rtl8139.c
+++ b/src/kernel/arch/amd64/driver/rtl8139.c
@@ -118,6 +118,7 @@ static int try_rx(Proc *proc, void __user *dest, size_t dlen) {
* 0 - Receive OK
* 14 - Physical Address Matched */
flags = *(uint16_t*)(rxbuf + rxpos);
+ (void)flags; // TODO check rtl8139 rx flags
rxpos += 2;
/* doesn't include the header, includes a 4 byte crc */
size = *(uint16_t*)(rxbuf + rxpos);