[ 3.5.y.z extended stable ] Patch "NFC: Fix nfc_llcp_local chained list insertion" has been added to staging queue
Herton Ronaldo Krzesinski
herton.krzesinski at canonical.com
Thu Dec 13 04:45:51 UTC 2012
This is a note to let you know that I have just added a patch titled
NFC: Fix nfc_llcp_local chained list insertion
to the linux-3.5.y-queue branch of the 3.5.y.z extended stable tree
which can be found at:
http://kernel.ubuntu.com/git?p=ubuntu/linux.git;a=shortlog;h=refs/heads/linux-3.5.y-queue
If you, or anyone else, feels it should not be added to this tree, please
reply to this email.
For more information about the 3.5.y.z tree, see
https://wiki.ubuntu.com/Kernel/Dev/ExtendedStable
Thanks.
-Herton
------
>From fbc1ee55657fa830e7a4745578bebe7994d3a01a Mon Sep 17 00:00:00 2001
From: Thierry Escande <thierry.escande at linux.intel.com>
Date: Fri, 12 Oct 2012 15:25:43 +0200
Subject: [PATCH 04/20] NFC: Fix nfc_llcp_local chained list insertion
commit 16a78e9fed5e8baa8480ae3413f4328c4537c599 upstream.
list_add was called with swapped parameters
Signed-off-by: Thierry Escande <thierry.escande at linux.intel.com>
Signed-off-by: Samuel Ortiz <sameo at linux.intel.com>
Signed-off-by: Herton Ronaldo Krzesinski <herton.krzesinski at canonical.com>
---
net/nfc/llcp/llcp.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net/nfc/llcp/llcp.c b/net/nfc/llcp/llcp.c
index 42994fa..96781f5 100644
--- a/net/nfc/llcp/llcp.c
+++ b/net/nfc/llcp/llcp.c
@@ -990,7 +990,7 @@ int nfc_llcp_register_device(struct nfc_dev *ndev)
local->remote_lto = LLCP_DEFAULT_LTO;
local->remote_rw = LLCP_DEFAULT_RW;
- list_add(&llcp_devices, &local->list);
+ list_add(&local->list, &llcp_devices);
return 0;
--
1.7.9.5
More information about the kernel-team
mailing list