Skip to contentSkip to conversation

linux-next: build warning after merge of the net-next tree

PATCH Stephen Rothwell 2 participants 2 messages Oct 7, 2019 – Oct 9, 2019

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

Hi all,

After merging the net-next tree, today's linux-next build (x86_64 allmodconfig) produced this warning:

Introduced by commit

033b2c7f0f26 ("rxrpc: Add missing "new peer" trace")

interacting with commit

55f6c98e3674 ("rxrpc: Fix trace-after-put looking at the put peer record")

from the net tree.

I have applied the following merge fix patch.

From: Stephen Rothwell <[email protected]>
Date: Tue, 8 Oct 2019 09:37:50 +1100
Subject: [PATCH] rxrpc: fix up for "rxrpc: Fix trace-after-put looking at the
put peer record"

interacting with commit

033b2c7f0f26 ("rxrpc: Add missing "new peer" trace")

---
 net/rxrpc/peer_object.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
net/rxrpc/peer_object.c +1 -1
index a7f1a2cdd198..452163eadb98 100644
@@ -231,7 +231,7 @@ struct rxrpc_peer *rxrpc_alloc_peer(struct rxrpc_local *local, gfp_t gfp)
 			peer->cong_cwnd = 3;
 		else
 			peer->cong_cwnd = 4;
-		trace_rxrpc_peer(peer, rxrpc_peer_new, 1, here);
+		trace_rxrpc_peer(peer->debug_id, rxrpc_peer_new, 1, here);
 	}
 
 	_leave(" = %p", peer);
Signature · 5 lines
2.23.0.rc1

-- 
Cheers,
Stephen Rothwell
maintainer Acked-by
#1 lore raw

net/rxrpc/peer_object.c struct rxrpc_peer *rxrpc_alloc_peer(struct rxrpc_local *local, gfp_t gfp) · line 237

Quoted 13 lines · Stephen Rothwell
net/rxrpc/peer_object.c +1 -1
index a7f1a2cdd198..452163eadb98 100644
@@ -231,7 +231,7 @@ struct rxrpc_peer *rxrpc_alloc_peer(struct rxrpc_local *local, gfp_t gfp)
 			peer->cong_cwnd = 3;
 		else
 			peer->cong_cwnd = 4;
-		trace_rxrpc_peer(peer, rxrpc_peer_new, 1, here);
+		trace_rxrpc_peer(peer->debug_id, rxrpc_peer_new, 1, here);
 	}
 
 	_leave(" = %p", peer);