linux-next: build warning after merge of the net-next tree
Subsystems (4)
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")
Signed-off-by Stephen Rothwell <[email protected]>
--- net/rxrpc/peer_object.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
net/rxrpc/peer_object.c +1 -1
@@ -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
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@@ -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);
Acked-by David Howells <[email protected]>