linux-next: manual merge of the ftrace tree with the net-next tree
Hi Steven,
Today's linux-next merge of the ftrace tree got a conflict in drivers/net/wireless/iwlwifi/iwl-devtrace.h between commit 7e1223b50089 ("iwlwifi: mvm: new Alive / error table API") from the net-next tree and commit c5ef935d01a2 ("iwlwifi: Move each system tracepoints to their own header") from the ftrace tree.
I fixed it up (see patch below, since this code was moved to a new file) and can carry the fix as necessary (no action is required).
From: Stephen Rothwell <[email protected]>
Date: Mon, 13 Apr 2015 17:21:30 +1000
Subject: [PATCH] iwlwifi: mvm: fix up for tracing split
--- drivers/net/wireless/iwlwifi/iwl-devtrace-iwlwifi.h | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-)
drivers/net/wireless/iwlwifi/iwl-devtrace-iwlwifi.h +10 -8
@@ -116,11 +116,11 @@ TRACE_EVENT(iwlwifi_dev_ucode_error, TP_PROTO(const struct device *dev, u32 desc, u32 tsf_low, u32 data1, u32 data2, u32 line, u32 blink1, u32 blink2, u32 ilink1, u32 ilink2, u32 bcon_time, - u32 gp1, u32 gp2, u32 gp3, u32 ucode_ver, u32 hw_ver, + u32 gp1, u32 gp2, u32 gp3, u32 major, u32 minor, u32 hw_ver, u32 brd_ver),TP_ARGS (dev, desc, tsf_low, data1, data2, line, blink1, blink2, ilink1, ilink2, bcon_time, gp1, gp2, - gp3, ucode_ver, hw_ver, brd_ver), + gp3, major, minor, hw_ver, brd_ver),TP_STRUCT__entry ( DEV_ENTRY __field(u32, desc)
@@ -136,7 +136,8 @@ TRACE_EVENT(iwlwifi_dev_ucode_error, __field(u32, gp1) __field(u32, gp2) __field(u32, gp3) - __field(u32, ucode_ver) + __field(u32, major) + __field(u32, minor) __field(u32, hw_ver)__field (u32, brd_ver) ),
@@ -155,21 +156,22 @@ TRACE_EVENT(iwlwifi_dev_ucode_error, __entry->gp1 = gp1; __entry->gp2 = gp2; __entry->gp3 = gp3; - __entry->ucode_ver = ucode_ver; + __entry->major = major; + __entry->minor = minor; __entry->hw_ver = hw_ver; __entry->brd_ver = brd_ver; ),TP_printk ("[%s] #%02d %010u data 0x%08X 0x%08X line %u, " "blink 0x%05X 0x%05X ilink 0x%05X 0x%05X " -"bcon_tm %010u gp 0x%08X 0x%08X 0x%08X uCode 0x%08X " -"hw 0x%08X brd 0x%08X" , +"bcon_tm %010u gp 0x%08X 0x%08X 0x%08X major 0x%08X " +"minor 0x%08X hw 0x%08X brd 0x%08X" ,__get_str (dev), __entry->desc, __entry->tsf_low, __entry->data1, __entry->data2, __entry->line, __entry->blink1, __entry->blink2, __entry->ilink1, __entry->ilink2, __entry->bcon_time, __entry->gp1, __entry->gp2, - __entry->gp3, __entry->ucode_ver, __entry->hw_ver, - __entry->brd_ver) + __entry->gp3, __entry->major, __entry->minor, + __entry->hw_ver, __entry->brd_ver) ); TRACE_EVENT(iwlwifi_dev_ucode_event,
Signature · 5 lines
2.1.4 -- Cheers, Stephen Rothwell [email protected]
Quoted 11 lines
Hi Steven,
Today's linux-next merge of the ftrace tree got a conflict in
drivers/net/wireless/iwlwifi/iwl-devtrace.hbetween commit7e1223b50089("iwlwifi: mvm: new Alive / error table API") from the net-next tree and commitc5ef935d01a2("iwlwifi: Move each system tracepoints to their own header") from the ftrace tree.I fixed it up (see patch below, since this code was moved to a new file) and can carry the fix as necessary (no action is required).
Yes - So I was discussing that with Steven and you fixed it properly. Thank your for that.
Quoted 76 lines
From: Stephen Rothwell <[email protected]>
Date: Mon, 13 Apr 2015 17:21:30 +1000
Subject: [PATCH] iwlwifi: mvm: fix up for tracing splitSigned-off-by Stephen Rothwell <[email protected]>--- drivers/net/wireless/iwlwifi/iwl-devtrace-iwlwifi.h | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-)drivers/net/wireless/iwlwifi/iwl-devtrace-iwlwifi.h +2
-2@@ -116,11 +116,11 @@ TRACE_EVENT(iwlwifi_dev_ucode_error, TP_PROTO(const struct device *dev, u32 desc, u32 tsf_low, u32 data1, u32 data2, u32 line, u32 blink1, u32 blink2, u32 ilink1, u32 ilink2, u32 bcon_time, - u32 gp1, u32 gp2, u32 gp3, u32 ucode_ver, u32 hw_ver, + u32 gp1, u32 gp2, u32 gp3, u32 major, u32 minor, u32 hw_ver, u32 brd_ver),TP_ARGS (dev, desc, tsf_low, data1, data2, line, blink1, blink2, ilink1, ilink2, bcon_time, gp1, gp2, - gp3, ucode_ver, hw_ver, brd_ver), + gp3, major, minor, hw_ver, brd_ver),TP_STRUCT__entry ( DEV_ENTRYdrivers/net/wireless/iwlwifi/iwl-devtrace-iwlwifi.h +4
-3__field (u32, desc)@@ -136,7 +136,8 @@ TRACE_EVENT(iwlwifi_dev_ucode_error, __field(u32, gp1) __field(u32, gp2) __field(u32, gp3) - __field(u32, ucode_ver) + __field(u32, major) + __field(u32, minor) __field(u32, hw_ver)__field (u32, brd_ver) ),@@ -155,21 +156,22 @@ TRACE_EVENT(iwlwifi_dev_ucode_error, __entry->gp1 = gp1; __entry->gp2 = gp2; __entry->gp3 = gp3; - __entry->ucode_ver = ucode_ver; + __entry->major = major; + __entry->minor = minor; __entry->hw_ver = hw_ver; __entry->brd_ver = brd_ver; ),TP_printk ("[%s] #%02d %010u data 0x%08X 0x%08X line %u, " "blink 0x%05X 0x%05X ilink 0x%05X 0x%05X " - "bcon_tm %010u gp 0x%08X 0x%08X 0x%08X uCode 0x%08X"
drivers/net/wireless/iwlwifi/iwl-devtrace-iwlwifi.h +1
-1- "hw 0x%08X brd 0x%08X", + "bcon_tm %010u gp 0x%08X 0x%08X 0x%08X major 0x%08X"
drivers/net/wireless/iwlwifi/iwl-devtrace-iwlwifi.h +3
-3+"minor 0x%08X hw 0x%08X brd 0x%08X" ,__get_str (dev), __entry->desc, __entry->tsf_low, __entry->data1, __entry->data2, __entry->line, __entry->blink1, __entry->blink2, __entry->ilink1, __entry->ilink2, __entry->bcon_time, __entry->gp1, __entry->gp2, - __entry->gp3, __entry->ucode_ver, __entry->hw_ver, - __entry->brd_ver) + __entry->gp3, __entry->major, __entry->minor, + __entry->hw_ver, __entry->brd_ver) ); TRACE_EVENT(iwlwifi_dev_ucode_event, --2.1.4
--
Cheers,
Stephen Rothwell [email protected]
Hi all,
Quoted 65 lines · On Mon, 13 Apr 2015 17:52:24 +1000 Stephen Rothwell <[email protected]>…
Today's linux-next merge of the ftrace tree got a conflict in
drivers/net/wireless/iwlwifi/iwl-devtrace.hbetween commit7e1223b50089("iwlwifi: mvm: new Alive / error table API") from the net-next tree and commitc5ef935d01a2("iwlwifi: Move each system tracepoints to their own header") from the ftrace tree.I fixed it up (see patch below, since this code was moved to a new file) and can carry the fix as necessary (no action is required).
From: Stephen Rothwell <[email protected]>
Date: Mon, 13 Apr 2015 17:21:30 +1000
Subject: [PATCH] iwlwifi: mvm: fix up for tracing splitSigned-off-by Stephen Rothwell <[email protected]>--- drivers/net/wireless/iwlwifi/iwl-devtrace-iwlwifi.h | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-)drivers/net/wireless/iwlwifi/iwl-devtrace-iwlwifi.h +8
-6@@ -116,11 +116,11 @@ TRACE_EVENT(iwlwifi_dev_ucode_error, TP_PROTO(const struct device *dev, u32 desc, u32 tsf_low, u32 data1, u32 data2, u32 line, u32 blink1, u32 blink2, u32 ilink1, u32 ilink2, u32 bcon_time, - u32 gp1, u32 gp2, u32 gp3, u32 ucode_ver, u32 hw_ver, + u32 gp1, u32 gp2, u32 gp3, u32 major, u32 minor, u32 hw_ver, u32 brd_ver),TP_ARGS (dev, desc, tsf_low, data1, data2, line, blink1, blink2, ilink1, ilink2, bcon_time, gp1, gp2, - gp3, ucode_ver, hw_ver, brd_ver), + gp3, major, minor, hw_ver, brd_ver),TP_STRUCT__entry ( DEV_ENTRY __field(u32, desc)@@ -136,7 +136,8 @@ TRACE_EVENT(iwlwifi_dev_ucode_error, __field(u32, gp1) __field(u32, gp2) __field(u32, gp3) - __field(u32, ucode_ver) + __field(u32, major) + __field(u32, minor) __field(u32, hw_ver)__field (u32, brd_ver) ),@@ -155,21 +156,22 @@ TRACE_EVENT(iwlwifi_dev_ucode_error, __entry->gp1 = gp1; __entry->gp2 = gp2; __entry->gp3 = gp3; - __entry->ucode_ver = ucode_ver; + __entry->major = major; + __entry->minor = minor; __entry->hw_ver = hw_ver; __entry->brd_ver = brd_ver; ), TP_printk("[%s] #%02d %010u data 0x%08X 0x%08X line %u, " "blink 0x%05X 0x%05X ilink 0x%05X 0x%05X " - "bcon_tm %010u gp 0x%08X 0x%08X 0x%08X uCode 0x%08X " - "hw 0x%08X brd 0x%08X", + "bcon_tm %010u gp 0x%08X 0x%08X 0x%08X major 0x%08X " + "minor 0x%08X hw 0x%08X brd 0x%08X", __get_str(dev), __entry->desc, __entry->tsf_low, __entry->data1,
drivers/net/wireless/iwlwifi/iwl-devtrace-iwlwifi.h TRACE_EVENT(iwlwifi_dev_ucode_error, · line 177
Quoted 10 lines
drivers/net/wireless/iwlwifi/iwl-devtrace-iwlwifi.h +2
-2__entry->data2, __entry->line, __entry->blink1, __entry->blink2, __entry->ilink1, __entry->ilink2, __entry->bcon_time, __entry->gp1, __entry->gp2, - __entry->gp3, __entry->ucode_ver, __entry->hw_ver, - __entry->brd_ver) + __entry->gp3, __entry->major, __entry->minor, + __entry->hw_ver, __entry->brd_ver) ); TRACE_EVENT(iwlwifi_dev_ucode_event,
This patch is now needed when the net-next tree is merged with Linus' tree ...
Signature · 2 lines
Cheers, Stephen Rothwell [email protected]
David Miller
maintainerFrom: Stephen Rothwell <[email protected]>
Date: Wed, 15 Apr 2015 11:23:23 +1000
Quoted 2 lines
This patch is now needed when the net-next tree is merged with Linus' tree ...
Yeah I noticed this while working on test merges into Linus's tree, thanks.
Quoted 17 lines · On Wed, 15 Apr 2015 11:23:23 +1000 Stephen Rothwell <[email protected]>…
Hi all,
Quoted 14 lines · On Mon, 13 Apr 2015 17:52:24 +1000 Stephen Rothwell <[email protected]>…
Today's linux-next merge of the ftrace tree got a conflict in
drivers/net/wireless/iwlwifi/iwl-devtrace.hbetween commit7e1223b50089("iwlwifi: mvm: new Alive / error table API") from the net-next tree and commitc5ef935d01a2("iwlwifi: Move each system tracepoints to their own header") from the ftrace tree.I fixed it up (see patch below, since this code was moved to a new file) and can carry the fix as necessary (no action is required).
From: Stephen Rothwell <[email protected]>
Date: Mon, 13 Apr 2015 17:21:30 +1000
Subject: [PATCH] iwlwifi: mvm: fix up for tracing split
Quoted 5 lines
Quoted 1 line
Signed-off-by Stephen Rothwell <[email protected]>This patch is now needed when the net-next tree is merged with Linus' tree ...
I also noted this coming conflict in my pull request. So Linus should be very well aware of it.
https://lkml.org/lkml/2015/4/13/652
"Also there's a conflict with commit 7e1223b50089 ("iwlwifi: mvm: new Alive / error table API") that Stephen found and he resolved it with cd98c1ef4ec1a4d08e920060b70e47a5a4e69377."
That is, if that commit sha1 still exists.
-- Steve
David Miller
maintainerFrom: Steven Rostedt <[email protected]>
Date: Tue, 14 Apr 2015 23:06:29 -0400
Quoted 10 lines
I also noted this coming conflict in my pull request. So Linus should be very well aware of it.
https://lkml.org/lkml/2015/4/13/652
"Also there's a conflict with commit
7e1223b50089("iwlwifi: mvm: new Alive / error table API") that Stephen found and he resolved it withcd98c1ef4ec1a4d08e920060b70e47a5a4e69377."That is, if that commit sha1 still exists.
I'll be sure to explain this to Linus.