Smatch found two issues in bios_emulator, a buffer overflow and missing parens for a macro. Fix them both.
Signed-off-by: Andrew Goodbody <andrew.goodb...@linaro.org> --- Andrew Goodbody (2): bios_emulator: Fix buffer overflow bios_emulator: Add parens to xorl macro drivers/bios_emulator/atibios.c | 2 +- drivers/bios_emulator/x86emu/ops2.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) --- base-commit: bd0ade7d090a334b3986936d63a34001d99722ad change-id: 20250723-bios_emulator-62aaa4de8542 Best regards, -- Andrew Goodbody <andrew.goodb...@linaro.org>