On Tue, 7 Mar 2023 at 13:36, Daniel Henrique Barboza <[email protected]> wrote: > On 3/7/23 08:42, BALATON Zoltan wrote: > > @@ -168,6 +186,10 @@ static const VMStateDescription vmstate_pic_common = { > > VMSTATE_UINT8(single_mode, PICCommonState), > > VMSTATE_UINT8(elcr, PICCommonState), > > VMSTATE_END_OF_LIST() > > + }, > > + .subsections = (const VMStateDescription*[]) { > > Checkpatch will nag about it claiming that we need spaces between '*'. The > maintainer > can fix it in-tree though.
checkpatch nags because it fails to correctly parse this piece of C syntax and thinks the '*' is a multiplication operator; we should just ignore it in this instance. thanks -- PMM
