From: Shreenidhi Shedi <yesshedi@gmail.com>
To: dhowells@redhat.com, dwmw2@infradead.org
Cc: linux-kernel@vger.kernel.org, Shreenidhi Shedi <sshedi@vmware.com>
Subject: [PATCH 3/4] sign-file: fix few checkpatch issues
Date: Thu, 9 Feb 2023 21:35:22 +0530 [thread overview]
Message-ID: <20230209160523.858502-3-sshedi@vmware.com> (raw)
In-Reply-To: <20230209160523.858502-1-sshedi@vmware.com>
Signed-off-by: Shreenidhi Shedi <sshedi@vmware.com>
---
sign-file.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/sign-file.c b/sign-file.c
index b2619db..2faf302 100644
--- a/sign-file.c
+++ b/sign-file.c
@@ -73,7 +73,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 format(void)
@@ -118,7 +118,7 @@ static void drain_openssl_errors(void)
if (__cond) { \
errx(1, fmt, ## __VA_ARGS__); \
} \
- } while(0)
+ } while (0)
static const char *key_pass;
--
2.39.0
next prev parent reply other threads:[~2023-02-09 16:06 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-02-09 16:05 [PATCH 1/4] sign-file: refactor argument parsing logic Shreenidhi Shedi
2023-02-09 16:05 ` [PATCH 2/4] sign-file: add license identifier Shreenidhi Shedi
2023-02-09 16:05 ` Shreenidhi Shedi [this message]
2023-02-09 16:05 ` [PATCH 4/4] sign-file: improve help message Shreenidhi Shedi
2023-02-11 19:34 ` [PATCH 1/4] sign-file: refactor argument parsing logic Shreenidhi Shedi
2023-02-12 7:24 ` Greg KH
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20230209160523.858502-3-sshedi@vmware.com \
--to=yesshedi@gmail.com \
--cc=dhowells@redhat.com \
--cc=dwmw2@infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=sshedi@vmware.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®