Skip to contentSkip to conversation

linux-next: build failure after merge of the tip tree

PATCH Stephen Rothwell 3 participants 9 messages Jun 25, 2019 – Jul 9, 2019

Subsystems (4)
lore
Share & tools
lore
#0 lore raw

Hi all,

After merging the tip tree, today's linux-next build (x86_64 allmodconfig) failed like this:

drivers/net/wireless/intersil/p54/txrx.c: In function 'p54_rx_data':
drivers/net/wireless/intersil/p54/txrx.c:386:28: error: implicit declaration of function 'ktime_get_boot_ns'; did you mean 'ktime_get_raw_ns'? [-Werror=implicit-function-declaration]

   rx_status->boottime_ns = ktime_get_boot_ns();
                            ^~~~~~~~~~~~~~~~~
                            ktime_get_raw_ns

Caused by commit

c11c75ec784e ("p54: Support boottime in scan results")

from the wireless-drivers-next tree interacting with commit

9285ec4c8b61 ("timekeeping: Use proper clock specifier names in functions")

from the tip tree.

I have added the following merge fix patch:

From: Stephen Rothwell <[email protected]>
Date: Tue, 25 Jun 2019 15:55:36 +1000
Subject: [PATCH] p54: fix up for ktime_get_boot_ns() name change

---
 drivers/net/wireless/intersil/p54/txrx.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/wireless/intersil/p54/txrx.c +1 -1
index be6968454282..873fea59894f 100644
@@ -383,7 +383,7 @@ static int p54_rx_data(struct p54_common *priv, struct sk_buff *skb)
 
 	fc = ((struct ieee80211_hdr *)skb->data)->frame_control;
 	if (ieee80211_is_probe_resp(fc) || ieee80211_is_beacon(fc))
-		rx_status->boottime_ns = ktime_get_boot_ns();
+		rx_status->boottime_ns = ktime_get_boottime_ns();
 
 	if (unlikely(priv->hw->conf.flags & IEEE80211_CONF_PS))
 		p54_pspoll_workaround(priv, skb);
Signature · 5 lines
2.20.1

-- 
Cheers,
Stephen Rothwell
#1 lore raw
Quoted 35 lines · Stephen Rothwell

After merging the tip tree, today's linux-next build (x86_64 allmodconfig) failed like this:

drivers/net/wireless/intersil/p54/txrx.c: In function 'p54_rx_data':
drivers/net/wireless/intersil/p54/txrx.c:386:28: error: implicit declaration of function 'ktime_get_boot_ns'; did you mean 'ktime_get_raw_ns'? [-Werror=implicit-function-declaration]

   rx_status->boottime_ns = ktime_get_boot_ns();
                            ^~~~~~~~~~~~~~~~~
                            ktime_get_raw_ns

Caused by commit

c11c75ec784e ("p54: Support boottime in scan results")

from the wireless-drivers-next tree interacting with commit

9285ec4c8b61 ("timekeeping: Use proper clock specifier names in functions")

from the tip tree.

I have added the following merge fix patch:

From: Stephen Rothwell <[email protected]>
Date: Tue, 25 Jun 2019 15:55:36 +1000
Subject: [PATCH] p54: fix up for ktime_get_boot_ns() name change

---
 drivers/net/wireless/intersil/p54/txrx.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/wireless/intersil/p54/txrx.c +0 -0
index be6968454282..873fea59894f 100644

drivers/net/wireless/intersil/p54/txrx.c static int p54_rx_data(struct p54_common *priv, struct sk_buff *skb) · line 386

Quoted 5 lines
drivers/net/wireless/intersil/p54/txrx.c +1 -1
@@ -383,7 +383,7 @@ static int p54_rx_data(struct p54_common *priv, struct sk_buff *skb)
 
 	fc = ((struct ieee80211_hdr *)skb->data)->frame_control;
 	if (ieee80211_is_probe_resp(fc) || ieee80211_is_beacon(fc))
-		rx_status->boottime_ns = ktime_get_boot_ns();
+		rx_status->boottime_ns = ktime_get_boottime_ns();

Thanks for the report. Any suggestions how to handle this? Or do we let Linus take care of this?

Signature · 1 line
Kalle Valo
#2 lore raw
Quoted 11 lines · Kalle Valo
Quoted 10 lines · Stephen Rothwell
---
 drivers/net/wireless/intersil/p54/txrx.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/wireless/intersil/p54/txrx.c +0 -0
index be6968454282..873fea59894f 100644
@@ -383,7 +383,7 @@ static int p54_rx_data(struct p54_common *priv, struct sk_buff *skb)
 
Quoted 7 lines

drivers/net/wireless/intersil/p54/txrx.c static int p54_rx_data(struct p54_common *priv, struct sk_buff *skb) · line 386

Quoted 4 lines
drivers/net/wireless/intersil/p54/txrx.c +1 -1
 	fc = ((struct ieee80211_hdr *)skb->data)->frame_control;
 	if (ieee80211_is_probe_resp(fc) || ieee80211_is_beacon(fc))
-		rx_status->boottime_ns = ktime_get_boot_ns();
+		rx_status->boottime_ns = ktime_get_boottime_ns();

Thanks for the report. Any suggestions how to handle this? Or do we let Linus take care of this?

As the core changes which cause this are in tip timers/core, I can just pick that up and be done with it. Ok?

Thanks,

tglx

#3 lore raw
In reply to Kalle Valo

Hi Kalle,

Quoted 3 lines · On Tue, 25 Jun 2019 09:23:33 +0300 Kalle Valo <[email protected]> wrote:

Thanks for the report. Any suggestions how to handle this? Or do we let Linus take care of this?

Just let Linus take care of it ... mention it in the pull request ... I guess DaveM needs to know, right?

Signature · 2 lines
Cheers,
Stephen Rothwell
#4 lore raw
Quoted 6 lines · Stephen Rothwell
Quoted 3 lines · On Tue, 25 Jun 2019 09:23:33 +0300 Kalle Valo <[email protected]> wrote:

Thanks for the report. Any suggestions how to handle this? Or do we let Linus take care of this?

Just let Linus take care of it ... mention it in the pull request ...

Thanks, I'll do that.

Quoted 1 line

I guess DaveM needs to know, right?

Yeah, this commit goes from wireless-drivers-next to net-next and from there to Linus. I'll inform Dave in my pull request.

Signature · 1 line
Kalle Valo
#5 lore raw
In reply to Stephen Rothwell
Quoted 9 lines · Stephen Rothwell

Hi Kalle,

Quoted 3 lines · On Tue, 25 Jun 2019 09:23:33 +0300 Kalle Valo <[email protected]> wrote:

Thanks for the report. Any suggestions how to handle this? Or do we let Linus take care of this?

Just let Linus take care of it ... mention it in the pull request ... I guess DaveM needs to know, right?

Ah. I didn't realize that this is a new commit in Kalle's tree. So yes that's the right thing to do.

Thanks,

tglx

#6 lore raw
Quoted 6 lines · Thomas Gleixner
Quoted 4 lines · Stephen Rothwell

Hi Kalle,

Quoted 1 line · On Tue, 25 Jun 2019 09:23:33 +0300 Kalle Valo <[email protected]> wrote:
Quoted 8 lines
Quoted 5 lines
Quoted 2 lines

Thanks for the report. Any suggestions how to handle this? Or do we let Linus take care of this?

Just let Linus take care of it ... mention it in the pull request ... I guess DaveM needs to know, right?

Ah. I didn't realize that this is a new commit in Kalle's tree. So yes that's the right thing to do.

Good, I'll do that then.

Signature · 1 line
Kalle Valo
#7 lore raw
In reply to Stephen Rothwell

Hi all,

Quoted 46 lines · On Tue, 25 Jun 2019 16:04:32 +1000 Stephen Rothwell <[email protected]>…

After merging the tip tree, today's linux-next build (x86_64 allmodconfig) failed like this:

drivers/net/wireless/intersil/p54/txrx.c: In function 'p54_rx_data':
drivers/net/wireless/intersil/p54/txrx.c:386:28: error: implicit declaration of function 'ktime_get_boot_ns'; did you mean 'ktime_get_raw_ns'? [-Werror=implicit-function-declaration]

   rx_status->boottime_ns = ktime_get_boot_ns();
                            ^~~~~~~~~~~~~~~~~
                            ktime_get_raw_ns

Caused by commit

c11c75ec784e ("p54: Support boottime in scan results")

from the wireless-drivers-next tree interacting with commit

9285ec4c8b61 ("timekeeping: Use proper clock specifier names in functions")

from the tip tree.

I have added the following merge fix patch:

From: Stephen Rothwell <[email protected]>
Date: Tue, 25 Jun 2019 15:55:36 +1000
Subject: [PATCH] p54: fix up for ktime_get_boot_ns() name change

---
 drivers/net/wireless/intersil/p54/txrx.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/wireless/intersil/p54/txrx.c +1 -1
index be6968454282..873fea59894f 100644
@@ -383,7 +383,7 @@ static int p54_rx_data(struct p54_common *priv, struct sk_buff *skb)
 
 	fc = ((struct ieee80211_hdr *)skb->data)->frame_control;
 	if (ieee80211_is_probe_resp(fc) || ieee80211_is_beacon(fc))
-		rx_status->boottime_ns = ktime_get_boot_ns();
+		rx_status->boottime_ns = ktime_get_boottime_ns();
 
 	if (unlikely(priv->hw->conf.flags & IEEE80211_CONF_PS))
 		p54_pspoll_workaround(priv, skb);
Signature · 1 line
2.20.1

I am still getting this conflict (the commit ids may have changed). Just a reminder in case you think Linus may need to know.

Signature · 2 lines
Cheers,
Stephen Rothwell
#8 lore raw
In reply to Stephen Rothwell

Hi all,

Quoted 36 lines · On Tue, 25 Jun 2019 16:04:32 +1000 Stephen Rothwell <[email protected]>…

After merging the tip tree, today's linux-next build (x86_64 allmodconfig) failed like this:

drivers/net/wireless/intersil/p54/txrx.c: In function 'p54_rx_data':
drivers/net/wireless/intersil/p54/txrx.c:386:28: error: implicit declaration of function 'ktime_get_boot_ns'; did you mean 'ktime_get_raw_ns'? [-Werror=implicit-function-declaration]

   rx_status->boottime_ns = ktime_get_boot_ns();
                            ^~~~~~~~~~~~~~~~~
                            ktime_get_raw_ns

Caused by commit

c11c75ec784e ("p54: Support boottime in scan results")

from the wireless-drivers-next tree interacting with commit

9285ec4c8b61 ("timekeeping: Use proper clock specifier names in functions")

from the tip tree.

I have added the following merge fix patch:

From: Stephen Rothwell <[email protected]>
Date: Tue, 25 Jun 2019 15:55:36 +1000
Subject: [PATCH] p54: fix up for ktime_get_boot_ns() name change

---
 drivers/net/wireless/intersil/p54/txrx.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/wireless/intersil/p54/txrx.c +0 -0
index be6968454282..873fea59894f 100644

drivers/net/wireless/intersil/p54/txrx.c static int p54_rx_data(struct p54_common *priv, struct sk_buff *skb) · line 389

Quoted 8 lines
drivers/net/wireless/intersil/p54/txrx.c +1 -1
@@ -383,7 +383,7 @@ static int p54_rx_data(struct p54_common *priv, struct sk_buff *skb)
 
 	fc = ((struct ieee80211_hdr *)skb->data)->frame_control;
 	if (ieee80211_is_probe_resp(fc) || ieee80211_is_beacon(fc))
-		rx_status->boottime_ns = ktime_get_boot_ns();
+		rx_status->boottime_ns = ktime_get_boottime_ns();
 
 	if (unlikely(priv->hw->conf.flags & IEEE80211_CONF_PS))
 		p54_pspoll_workaround(priv, skb);

This patch is now needed in the merge between the net-next tree and Linus' tree.

Signature · 2 lines
Cheers,
Stephen Rothwell