]> Git Repo - qemu.git/commit
hw/timer/sse-timer: Propagate eventual error in sse_timer_realize()
authorPhilippe Mathieu-Daudé <[email protected]>
Fri, 12 Mar 2021 00:18:45 +0000 (01:18 +0100)
committerPeter Maydell <[email protected]>
Fri, 12 Mar 2021 12:43:52 +0000 (12:43 +0000)
commitfc49b77fd391fdcfc9c0b61a8c301ac0d15232e9
treeb19a3effeb9555a0d344d6515b5a80227e174281
parentf4223d2e75a991c80393ac3c684b90c875d6efd9
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é <[email protected]>
Message-id: 20210312001845.1562670[email protected]
Reviewed-by: Peter Maydell <[email protected]>
Signed-off-by: Peter Maydell <[email protected]>
hw/timer/sse-timer.c
This page took 0.026273 seconds and 4 git commands to generate.