Bernhard Beschow <[email protected]> writes: > Am 20. September 2022 11:36:47 UTC schrieb Markus Armbruster > <[email protected]>: >>Alistair Francis <[email protected]> writes: >> >>> On Tue, Sep 20, 2022 at 9:18 AM Bernhard Beschow <[email protected]> wrote: >>>> >>>> SiFiveEState inherits from SysBusDevice while it's TypeInfo claims it to >>>> inherit from TYPE_MACHINE. This is an inconsistency which can cause >>>> undefined behavior such as memory corruption. >>>> >>>> Change SiFiveEState to inherit from MachineState since it is registered >>>> as a machine. >>>> >>>> Signed-off-by: Bernhard Beschow <[email protected]> >>> >>> Reviewed-by: Alistair Francis <[email protected]> >> >>To the SiFive maintainers: since this is a bug fix, let's merge it right >>away. > > I could repost this particular patch with the three new tags (incl. Fixes) if > desired.
Can't hurt, and could help the maintainers.
