Hi all, On Mon, 13 Apr 2015 17:52:24 +1000 Stephen Rothwell <s...@canb.auug.org.au> wrote: > > 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 <s...@canb.auug.org.au> > Date: Mon, 13 Apr 2015 17:21:30 +1000 > Subject: [PATCH] iwlwifi: mvm: fix up for tracing split > > Signed-off-by: Stephen Rothwell <s...@canb.auug.org.au> > --- > drivers/net/wireless/iwlwifi/iwl-devtrace-iwlwifi.h | 18 ++++++++++-------- > 1 file changed, 10 insertions(+), 8 deletions(-) > > diff --git a/drivers/net/wireless/iwlwifi/iwl-devtrace-iwlwifi.h > b/drivers/net/wireless/iwlwifi/iwl-devtrace-iwlwifi.h > index 6cb66a988271..223b8752f924 100644 > --- a/drivers/net/wireless/iwlwifi/iwl-devtrace-iwlwifi.h > +++ b/drivers/net/wireless/iwlwifi/iwl-devtrace-iwlwifi.h > @@ -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,
This patch is now needed when the net-next tree is merged with Linus' tree ... -- Cheers, Stephen Rothwell s...@canb.auug.org.au
pgpn6wxDilwxX.pgp
Description: OpenPGP digital signature