Ping On Fri, Jun 23, Olaf Hering wrote:
> gcc7 is more strict with functions marked as inline. They are not > automatically inlined. Instead a function call is generated, but the > actual code is not visible by the linker. > > Do a mechanical change and mark every 'inline' as 'static inline'. For > simpler review the static goes into an extra line. > > Signed-off-by: Olaf Hering <o...@aepfle.de> > --- > stubdom/vtpmmgr/marshal.h | 76 > ++++++++++++++++++++++++++++++++++++++++++ > stubdom/vtpmmgr/tcg.h | 14 ++++++++ > stubdom/vtpmmgr/tpm2_marshal.h | 58 ++++++++++++++++++++++++++++++++ > stubdom/vtpmmgr/tpmrsa.h | 1 + > 4 files changed, 149 insertions(+) > > diff --git a/stubdom/vtpmmgr/marshal.h b/stubdom/vtpmmgr/marshal.h > index d826f19d89..dce19c6439 100644 > --- a/stubdom/vtpmmgr/marshal.h > +++ b/stubdom/vtpmmgr/marshal.h > @@ -47,16 +47,19 @@ typedef enum UnpackPtr { > UNPACK_ALLOC > } UnpackPtr; > > +static > inline BYTE* pack_BYTE(BYTE* ptr, BYTE t) { ...
signature.asc
Description: PGP signature
_______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org https://lists.xen.org/xen-devel