2018-03-04 06:52:11

by Nick Desaulniers

[permalink] [raw]
Subject: [PATCH] certs/blacklist: fix const confusion

Fixes commit 2be04df5668d ("certs/blacklist_nohashes.c: fix const confusion
in certs blacklist")

Signed-off-by: Nick Desaulniers <[email protected]>
---
certs/blacklist.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/certs/blacklist.h b/certs/blacklist.h
index 150d82da8e99..1efd6fa0dc60 100644
--- a/certs/blacklist.h
+++ b/certs/blacklist.h
@@ -1,3 +1,3 @@
#include <linux/kernel.h>

-extern const char __initdata *const blacklist_hashes[];
+extern const char __initconst *const blacklist_hashes[];
--
2.14.1



2018-03-15 04:17:58

by Nick Desaulniers

[permalink] [raw]
Subject: Re: [PATCH] certs/blacklist: fix const confusion

bumping for review

On Sat, Mar 3, 2018 at 10:50 PM, Nick Desaulniers
<[email protected]> wrote:
> Fixes commit 2be04df5668d ("certs/blacklist_nohashes.c: fix const confusion
> in certs blacklist")
>
> Signed-off-by: Nick Desaulniers <[email protected]>
> ---
> certs/blacklist.h | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/certs/blacklist.h b/certs/blacklist.h
> index 150d82da8e99..1efd6fa0dc60 100644
> --- a/certs/blacklist.h
> +++ b/certs/blacklist.h
> @@ -1,3 +1,3 @@
> #include <linux/kernel.h>
>
> -extern const char __initdata *const blacklist_hashes[];
> +extern const char __initconst *const blacklist_hashes[];
> --
> 2.14.1
>