linux-efi.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] efivars: Mark local function as static
@ 2013-09-03  6:56 Bojan Prtvar
  2013-09-05  9:59 ` Matt Fleming
  0 siblings, 1 reply; 2+ messages in thread
From: Bojan Prtvar @ 2013-09-03  6:56 UTC (permalink / raw)
  To: matt.fleming-ral2JQCrhuEAvxtiuMwx3w
  Cc: linux-efi-u79uwXL29TY76Z2rM5mHXA,
	kernel-janitors-u79uwXL29TY76Z2rM5mHXA, Bojan Prtvar

This fixes the following sparse warning
drivers/firmware/efi/efivars.c:567:6: warning: symbol 'efivars_sysfs_exit' was not declared. Should it be static?

Signed-off-by: Bojan Prtvar <prtvar.b-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
---
 drivers/firmware/efi/efivars.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/firmware/efi/efivars.c b/drivers/firmware/efi/efivars.c
index 8a7432a..933eb02 100644
--- a/drivers/firmware/efi/efivars.c
+++ b/drivers/firmware/efi/efivars.c
@@ -564,7 +564,7 @@ static int efivar_sysfs_destroy(struct efivar_entry *entry, void *data)
 	return 0;
 }
 
-void efivars_sysfs_exit(void)
+static void efivars_sysfs_exit(void)
 {
 	/* Remove all entries and destroy */
 	__efivar_entry_iter(efivar_sysfs_destroy, &efivar_sysfs_list, NULL, NULL);
-- 
1.7.1

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] efivars: Mark local function as static
  2013-09-03  6:56 [PATCH] efivars: Mark local function as static Bojan Prtvar
@ 2013-09-05  9:59 ` Matt Fleming
  0 siblings, 0 replies; 2+ messages in thread
From: Matt Fleming @ 2013-09-05  9:59 UTC (permalink / raw)
  To: Bojan Prtvar; +Cc: matt.fleming, linux-efi, kernel-janitors

On Tue, 03 Sep, at 08:56:20AM, Bojan Prtvar wrote:
> This fixes the following sparse warning
> drivers/firmware/efi/efivars.c:567:6: warning: symbol 'efivars_sysfs_exit' was not declared. Should it be static?
> 
> Signed-off-by: Bojan Prtvar <prtvar.b@gmail.com>
> ---
>  drivers/firmware/efi/efivars.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)

Applied, thanks!

-- 
Matt Fleming, Intel Open Source Technology Center

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-09-05  9:59 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-09-03  6:56 [PATCH] efivars: Mark local function as static Bojan Prtvar
2013-09-05  9:59 ` Matt Fleming

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).