Message ID | 20230809172211.343677-7-yesshedi@gmail.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | refactor file signing program | expand |
diff --git a/scripts/sign-file.c b/scripts/sign-file.c index d3abc5721a7e..e8dfbdd3eea3 100644 --- a/scripts/sign-file.c +++ b/scripts/sign-file.c @@ -71,7 +71,7 @@ struct module_signature { #define PKEY_ID_PKCS7 2 -static char magic_number[] = "~Module signature appended~\n"; +static const char magic_number[] = "~Module signature appended~\n"; static __attribute__((noreturn)) void print_usage(void)
Reported by checkpatch. Signed-off-by: Shreenidhi Shedi <yesshedi@gmail.com> --- scripts/sign-file.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)