mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-06 01:03:55 -06:00
Fix Sparse warnings about using plain integer as NULL pointer
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
This commit is contained in:
parent
52d946208e
commit
b9d38e9510
16 changed files with 43 additions and 43 deletions
|
@ -1096,7 +1096,7 @@ void sm501_init(uint32_t base, uint32_t local_mem_bytes, qemu_irq irq,
|
|||
/* bridge to serial emulation module */
|
||||
if (chr)
|
||||
serial_mm_init(base + MMIO_BASE_OFFSET + SM501_UART0, 2,
|
||||
0, /* TODO : chain irq to IRL */
|
||||
NULL, /* TODO : chain irq to IRL */
|
||||
115200, chr, 1);
|
||||
|
||||
/* create qemu graphic console */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue