[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <517A954C.7060505@intel.com>
Date: Fri, 26 Apr 2013 15:55:08 +0100
From: Matt Fleming <matt.fleming@...el.com>
To: Seiji Aguchi <seiji.aguchi@....com>
CC: "linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"mingo@...nel.org" <mingo@...nel.org>,
"hpa@...or.com" <hpa@...or.com>,
"mjg59@...f.ucam.org" <mjg59@...f.ucam.org>,
"tony.luck@...el.com" <tony.luck@...el.com>,
"jk@...abs.org" <jk@...abs.org>, "teg@...m.no" <teg@...m.no>,
"tglx@...utronix.de" <tglx@...utronix.de>,
"mikew@...gle.com" <mikew@...gle.com>,
"linux-tip-commits@...r.kernel.org"
<linux-tip-commits@...r.kernel.org>
Subject: Re: [tip:x86/efi2] efivars: efivar_entry API
On 26/04/13 15:25, Seiji Aguchi wrote:
> Matt,
>
> Thanks.
> With your patch, It works in case each entry is erased one by one as below.
> # rm dmesg-efi-1
> #rm dmesg-efi-2
How about if you add this to efi_pstore_erase_func()?
---
diff --git a/drivers/firmware/efi/efi-pstore.c b/drivers/firmware/efi/efi-pstore.c
index b820593..393d63a 100644
--- a/drivers/firmware/efi/efi-pstore.c
+++ b/drivers/firmware/efi/efi-pstore.c
@@ -166,6 +166,7 @@ static int efi_pstore_erase_func(struct efivar_entry *entry, void *data)
/* found */
__efivar_entry_delete(entry);
+ list_del(&entry->list);
return 1;
}
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists