2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2025-01-19 02:54:00 +08:00

A small list usage correction from Dan Carpenter.

-----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.4.12 (GNU/Linux)
 
 iQIcBAABAgAGBQJQWfx3AAoJEBLB8Bhh3lVKkNoP/1ALdgtpxXft7hKRFB78Iiy3
 3b08aW07YtevKgwMBZRQLpKK6VQGmQD0J0bC07qlSEUYi/xfVxQEOP3PviDKnBoC
 DiGSJPC5HF+NT0kQbrq4Wk5vIBFu98/xeYqOesW03ph3kTHlYqGyrdLhk87QNbCm
 TsnOI0XgvpRcNzqHbZ0UrZ1d0OeGEQIaQgJCkJ+F/hR2UksdoRUFCSH4MGG1v8a+
 pqjK2ThwRpwepbgmWNKyZ9G1vjWXcBAJawCA580xqnEod9k/58UoZV2dmsk9JLM9
 wj3/08Nr/GzViVBLoKx2iaSM3WHRh2XDLdfXlqerInmJzsZEHLb+4LGjYt2fPW4W
 hg0kzyhuUTAj4mWEb7gasqdc+R6HTbmN+2CaKatmamwB7K2RjTAu0zhGAEVKPLGS
 KUwCYO4+EQKTVABv+4p+fktCtMcBWyaf8s++qTcqlo7NHs1x5jNllYGdN03QsxfU
 GLBv+XPb7rFISpxumnlWXqqEjH5YhUnnZzwdzRP4IZLKOi64y5iml1JyoNkzmMPu
 3h5+mNMk/tz0BfkvuuXCrUTirL6BxH6imMWMiIoFsoJ07JEaEWcKKLIGq9PPNTr/
 yKrlmRdDw+0jvRqOOQ27e1Om/qIuiKyjLFXyZCZ0eGSD6dY91cTslzUBKih21LLA
 TZLnmeBE2uo7rxnbuBOu
 =XnGw
 -----END PGP SIGNATURE-----

Merge tag 'microcode_fix_3.7' of git://git.kernel.org/pub/scm/linux/kernel/git/bp/bp into x86/microcode

Pull microcode changes from Borislav Petkov:

 "A small list usage correction from Dan Carpenter."

Signed-off-by: Ingo Molnar <mingo@kernel.org>
This commit is contained in:
Ingo Molnar 2012-09-20 10:57:38 +02:00
commit bd13178169

View File

@ -150,9 +150,9 @@ static void update_cache(struct ucode_patch *new_patch)
static void free_cache(void)
{
struct ucode_patch *p;
struct ucode_patch *p, *tmp;
list_for_each_entry_reverse(p, &pcache, plist) {
list_for_each_entry_safe(p, tmp, &pcache, plist) {
__list_del(p->plist.prev, p->plist.next);
kfree(p->data);
kfree(p);