We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
vfs_preprocess
1 parent 50870fb commit 7ecd171Copy full SHA for 7ecd171
virtio-fs.c
@@ -55,10 +55,10 @@ static void virtio_fs_set_fail(virtio_fs_state_t *vfs)
55
vfs->InterruptStatus |= VIRTIO_INT__CONF_CHANGE;
56
}
57
58
-static inline uint32_t vfs_preprocess(virtio_fs_state_t *vblk, uint32_t addr)
+static inline uint32_t vfs_preprocess(virtio_fs_state_t *vfs, uint32_t addr)
59
{
60
if ((addr >= RAM_SIZE) || (addr & 0b11))
61
- return virtio_fs_set_fail(vblk), 0;
+ return virtio_fs_set_fail(vfs), 0;
62
63
return addr >> 2;
64
0 commit comments