Re: [PATCH v3 03/10] PKCS#7: Fix missing include

From: Jarkko Sakkinen
Date: Tue Jan 19 2021 - 22:49:27 EST


On Thu, Jan 14, 2021 at 04:19:02PM +0100, Mickaël Salaün wrote:
> From: Mickaël Salaün <mic@xxxxxxxxxxxxxxxxxxx>
>
> Add missing linux/types.h for size_t.
>
> [DH: Changed from stddef.h]
>
> Signed-off-by: Mickaël Salaün <mic@xxxxxxxxxxxxxxxxxxx>
> Signed-off-by: David Howells <dhowells@xxxxxxxxxx>
> Reviewed-by: Ben Boeckel <mathstuf@xxxxxxxxx>
> ---

Reviewed-by: Jarkko Sakkinen <jarkko@xxxxxxxxxx>

/Jarkko

>
> Changes since v2:
> * Cherry-pick v1 patch from
> https://lore.kernel.org/lkml/2659836.1607940186@xxxxxxxxxxxxxxxxxxxxxx/
> to rebase on v5.11-rc3.
> ---
> include/linux/verification.h | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/include/linux/verification.h b/include/linux/verification.h
> index 911ab7c2b1ab..a655923335ae 100644
> --- a/include/linux/verification.h
> +++ b/include/linux/verification.h
> @@ -8,6 +8,8 @@
> #ifndef _LINUX_VERIFICATION_H
> #define _LINUX_VERIFICATION_H
>
> +#include <linux/types.h>
> +
> /*
> * Indicate that both builtin trusted keys and secondary trusted keys
> * should be used.
> --
> 2.30.0
>