Skip to contentSkip to conversation

FAILED: patch "[PATCH] NFC: st21nfca: Remove HCI gates initialization in" failed to apply to 4.3-stable tree

PATCH [email protected] 2 participants 3 messages Dec 7, 2015 – Dec 9, 2015

Subsystems (2)
lore
Share & tools
lore

[email protected]

author maintainer
#0 lore raw

The patch below does not apply to the 4.3-stable tree.
If someone wants it applied there, or to any other stable or longterm tree, then please email the backport, including the original git commit id to <[email protected]>.

thanks,

greg k-h

------------------ original commit in Linus's tree ------------------

Quoted 1 line

From 4d37a772b7437bed2ffb94e391a0534198588d20 Mon Sep 17 00:00:00 2001

From: Christophe Ricard <[email protected]>
Date: Sun, 25 Oct 2015 22:54:27 +0100
Subject: [PATCH] NFC: st21nfca: Remove HCI gates initialization in
load_session

hdev->init_data.gates is already initialized in st21nfca_hci_probe.

drivers/nfc/st21nfca/core.c +0 -1
index 42f197407a00..67d1c27a41ee 100644
@@ -218,7 +218,6 @@ static int st21nfca_hci_load_session(struct nfc_hci_dev *hdev)
 		}
 	}
 
-	memcpy(hdev->init_data.gates, st21nfca_gates, sizeof(st21nfca_gates));
 free_list:
 	kfree_skb(skb_pipe_list);
 	return r;
#1 lore raw
Quoted 5 lines · On Sun, 2015-12-06 at 23:41 -0800, [email protected] wrote:

The patch below does not apply to the 4.3-stable tree.
If someone wants it applied there, or to any other stable or longterm tree, then please email the backport, including the original git commit
id to <[email protected]>.

In 4.3 the file is named drivers/nfc/st21nfca/st21nfca.c.

Ben.

Quoted 39 lines

thanks,

greg k-h

------------------ original commit in Linus's tree ------------------

From 4d37a772b7437bed2ffb94e391a0534198588d20 Mon Sep 17 00:00:00 2001
From: Christophe Ricard <[email protected]>
Date: Sun, 25 Oct 2015 22:54:27 +0100
Subject: [PATCH] NFC: st21nfca: Remove HCI gates initialization in load_session

hdev->init_data.gates is already initialized in st21nfca_hci_probe.

drivers/nfc/st21nfca/core.c +0 -0
index 42f197407a00..67d1c27a41ee 100644
@@ -218,7 +218,6 @@ static int st21nfca_hci_load_session(struct
 nfc_hci_dev *hdev)
  		}
  	}

drivers/nfc/st21nfca/core.c +0 -1
-	memcpy(hdev->init_data.gates, st21nfca_gates,

sizeof(st21nfca_gates));
 free_list:
  kfree_skb(skb_pipe_list);
  return r;

--
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

Signature · 3 lines
Ben Hutchings
Theory and practice are closer in theory than in practice.
                                - John Levine, moderator of comp.compilers
author maintainer
#2 lore raw
Quoted 8 lines · Ben Hutchings
Quoted 5 lines · On Sun, 2015-12-06 at 23:41 -0800, [email protected] wrote:

The patch below does not apply to the 4.3-stable tree.
If someone wants it applied there, or to any other stable or longterm tree, then please email the backport, including the original git commit
id to <[email protected]>.

In 4.3 the file is named�drivers/nfc/st21nfca/st21nfca.c.

Can you send an updated patch?

thanks,

greg k-h