From f386f8e33fbdf264f0ea25a509f837ca0e94d250 Mon Sep 17 00:00:00 2001 From: Matheus Date: Mon, 14 Sep 2026 10:55:05 -0300 Subject: [PATCH] ext2: fix compilation --- kernel-src/fs/ext2.c | 2 +- kernel-src/io/net/wlan.c | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/kernel-src/fs/ext2.c b/kernel-src/fs/ext2.c index 06980ba9..2ea2689a 100644 --- a/kernel-src/fs/ext2.c +++ b/kernel-src/fs/ext2.c @@ -2181,7 +2181,7 @@ static int ext2_mount(vfs_t **vfs, vnode_t *mountpoint, vnode_t *backing, void * static int ext2_syncfs(vfs_t *vfs) { ext2fs_t *fs = (ext2fs_t *)vfs; abc_sync(&fs->abc); - return error; + return 0; } static vfsops_t vfsops = { diff --git a/kernel-src/io/net/wlan.c b/kernel-src/io/net/wlan.c index 08bc07e1..efdd3051 100644 --- a/kernel-src/io/net/wlan.c +++ b/kernel-src/io/net/wlan.c @@ -23,7 +23,6 @@ typedef struct { // TODO: make hardware keys take peer into account too // TODO: proper concurrency protection for key and channel setting // TODO: handle hotplug -// TODO: in u80211_drv *_tx_buffer ops, pass device handle // TODO: change how netdesc_t is handled in kernel overall (?) static uint64_t id_bitmap; static int allocate_id(void) {