diff mbox series

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

Message ID 20210114151909.2344974-4-mic@digikod.net
State Superseded
Headers show
Series Enable root to update the blacklist keyring | expand

Commit Message

Mickaël Salaün Jan. 14, 2021, 3:19 p.m. UTC
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>
---

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(+)

Comments

Jarkko Sakkinen Jan. 20, 2021, 3:44 a.m. UTC | #1
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

>
diff mbox series

Patch

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.