summary refs log tree commit diff stats
path: root/include/hw/boards.h
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé <f4bug@amsat.org>2021-03-12 01:18:45 +0100
committerPeter Maydell <peter.maydell@linaro.org>2021-03-12 12:43:52 +0000
commitfc49b77fd391fdcfc9c0b61a8c301ac0d15232e9 (patch)
treeb19a3effeb9555a0d344d6515b5a80227e174281 /include/hw/boards.h
parentf4223d2e75a991c80393ac3c684b90c875d6efd9 (diff)
downloadfocaccia-qemu-fc49b77fd391fdcfc9c0b61a8c301ac0d15232e9.tar.gz
focaccia-qemu-fc49b77fd391fdcfc9c0b61a8c301ac0d15232e9.zip
hw/timer/sse-timer: Propagate eventual error in sse_timer_realize()
If the SSECounter link is absent, we set an error message
in sse_timer_realize() but forgot to propagate this error.
Add the missing 'return'.

Fixes: CID 1450755 (Null pointer dereferences)
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-id: 20210312001845.1562670-1-f4bug@amsat.org
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'include/hw/boards.h')
0 files changed, 0 insertions, 0 deletions