[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <17ce63cca47d7cc146ab9c5012c7429b1eacf3b4.camel@linux.ibm.com>
Date: Wed, 17 Nov 2021 10:16:22 -0500
From: Mimi Zohar <zohar@...ux.ibm.com>
To: Eric Snowberg <eric.snowberg@...cle.com>, keyrings@...r.kernel.org,
linux-integrity@...r.kernel.org, dhowells@...hat.com,
dwmw2@...radead.org, herbert@...dor.apana.org.au,
davem@...emloft.net, jarkko@...nel.org, jmorris@...ei.org,
serge@...lyn.com
Cc: keescook@...omium.org, torvalds@...ux-foundation.org,
weiyongjun1@...wei.com, nayna@...ux.ibm.com, ebiggers@...gle.com,
ardb@...nel.org, nramas@...ux.microsoft.com, lszubowi@...hat.com,
jason@...c4.com, linux-kernel@...r.kernel.org,
linux-crypto@...r.kernel.org, linux-efi@...r.kernel.org,
linux-security-module@...r.kernel.org,
James.Bottomley@...senPartnership.com, pjones@...hat.com,
konrad.wilk@...cle.com
Subject: Re: [PATCH v7 07/17] integrity: Fix warning about missing prototypes
Hi Eric,
On Mon, 2021-11-15 at 19:15 -0500, Eric Snowberg wrote:
> make W=1 generates the following warning in keyring_handler.c
>
> security/integrity/platform_certs/keyring_handler.c:71:30: warning: no previous prototype for get_handler_for_db [-Wmissing-prototypes]
> __init efi_element_handler_t get_handler_for_db(const efi_guid_t *sig_type)
> ^~~~~~~~~~~~~~~~~~
> security/integrity/platform_certs/keyring_handler.c:82:30: warning: no previous prototype for get_handler_for_dbx [-Wmissing-prototypes]
> __init efi_element_handler_t get_handler_for_dbx(const efi_guid_t *sig_type)
> ^~~~~~~~~~~~~~~~~~~
> Add the missing prototypes by including keyring_handler.h.
>
> Signed-off-by: Eric Snowberg <eric.snowberg@...cle.com>
These sorts of fixes, which aren't really dependent on the patch set,
could be moved to the begining of the patch set.
Reviewed-by: Mimi Zohar <zohar@...ux.ibm.com>
Powered by blists - more mailing lists