|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH] vtpmmgr: make inline functions static
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 <olaf@xxxxxxxxx>
> ---
> 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) {
...
Attachment:
signature.asc _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx https://lists.xen.org/xen-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |