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

Jarkko Sakkinen
2021-01-20T03:49:25Z

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

Reviewed-by: Jarkko Sakkinen <jarkko@kernel.org>

/Jarkko

>
> Changes since v2:
> * Cherry-pick v1 patch from
> https://lore.kernel.org/lkml/2659836.1607940186@warthog.procyon.org.uk/
> 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
>