-
Philippe Mathieu-Daudé authored
OpenTitanState is the 'machine' (or 'board') state: it isn't a SysBus device, but inherits from the MachineState type. Correct the instance size. Doing so we avoid leaking an OpenTitanState pointer in opentitan_machine_init(). Fixes: fe0fe473 ("riscv: Initial commit of OpenTitan machine") Signed-off-by:
Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by:
Alistair Francis <alistair.francis@wdc.com>
Reviewed-by:
Daniel Henrique Barboza <dbarboza@ventanamicro.com>
Message-Id: <20230520054510.68822-6-philmd@linaro.org>
Signed-off-by:
Alistair Francis <alistair.francis@wdc.com>Philippe Mathieu-Daudé authoredOpenTitanState is the 'machine' (or 'board') state: it isn't a SysBus device, but inherits from the MachineState type. Correct the instance size. Doing so we avoid leaking an OpenTitanState pointer in opentitan_machine_init(). Fixes: fe0fe473 ("riscv: Initial commit of OpenTitan machine") Signed-off-by:
Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by:
Alistair Francis <alistair.francis@wdc.com>
Reviewed-by:
Daniel Henrique Barboza <dbarboza@ventanamicro.com>
Message-Id: <20230520054510.68822-6-philmd@linaro.org>
Signed-off-by:
Alistair Francis <alistair.francis@wdc.com>
Loading