kernel/acpi: Fix -Wundef.
kernel/wlan: Fix -Wundef.
kernel/virtio: Fix -Wundef.
kernel/mfi: Move the dereference of 'sc' below the NULL check.
kernel/ed: Fix -Wundef.
kernel/em/emx: Fix -Wundef.