From: Eric Snowberg <eric.snowberg@oracle.com>
To: dhowells@redhat.com, dwmw2@infradead.org
Cc: keyrings@vger.kernel.org, linux-kernel@vger.kernel.org,
eric.snowberg@oracle.com
Subject: [PATCH] certs: include prototype for load_certificate_list
Date: Wed, 3 Feb 2021 22:32:08 -0500 [thread overview]
Message-ID: <20210204033208.1389901-1-eric.snowberg@oracle.com> (raw)
The build test robot reports the following when building
with -Wmissing-prototypes
int load_certificate_list(const u8 cert_list[],
^
certs/common.c:6:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
int load_certificate_list(const u8 cert_list[],
^
static
1 warning generated.
Fix the warning by including the header file.
Signed-off-by: Eric Snowberg <eric.snowberg@oracle.com>
Reported-by: kernel test robot <lkp@intel.com>
---
certs/common.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/certs/common.c b/certs/common.c
index 83800f51a1a1..16a220887a53 100644
--- a/certs/common.c
+++ b/certs/common.c
@@ -2,6 +2,7 @@
#include <linux/kernel.h>
#include <linux/key.h>
+#include "common.h"
int load_certificate_list(const u8 cert_list[],
const unsigned long list_size,
--
2.18.4
next reply other threads:[~2021-02-04 3:35 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-02-04 3:32 Eric Snowberg [this message]
2021-02-04 14:54 ` Jarkko Sakkinen
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=20210204033208.1389901-1-eric.snowberg@oracle.com \
--to=eric.snowberg@oracle.com \
--cc=dhowells@redhat.com \
--cc=dwmw2@infradead.org \
--cc=keyrings@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
/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®