From: Thierry Escande <[email protected]> list_add was called with swapped parameters
Signed-off-by: Thierry Escande <[email protected]> Signed-off-by: Samuel Ortiz <[email protected]> Cc: <[email protected]> # 3.4.x Cc: <[email protected]> # 3.6.x Upstream-ID: 16a78e9fed5e8baa8480ae3413f4328c4537c599 Stable-Trees: 3.6 3.4 Signed-off-by: Peter Huewe <[email protected]> --- net/nfc/llcp/llcp.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/net/nfc/llcp/llcp.c b/net/nfc/llcp/llcp.c index 17a578f..c40112c 100644 --- a/net/nfc/llcp/llcp.c +++ b/net/nfc/llcp/llcp.c @@ -966,7 +966,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.8.6 -- To unsubscribe from this list: send the line "unsubscribe stable" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
