diff options
Diffstat (limited to 'net/rxrpc/proc.c')
-rw-r--r-- | net/rxrpc/proc.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/net/rxrpc/proc.c b/net/rxrpc/proc.c index 3b5ecd8e2401..29975d99d864 100644 --- a/net/rxrpc/proc.c +++ b/net/rxrpc/proc.c | |||
@@ -361,7 +361,7 @@ static void rxrpc_proc_peers_stop(struct seq_file *p, void *v) | |||
361 | static int rxrpc_proc_peers_show(struct seq_file *m, void *v) | 361 | static int rxrpc_proc_peers_show(struct seq_file *m, void *v) |
362 | { | 362 | { |
363 | struct rxrpc_peer *peer = list_entry(v, struct rxrpc_peer, proc_link); | 363 | struct rxrpc_peer *peer = list_entry(v, struct rxrpc_peer, proc_link); |
364 | signed long timeout; | 364 | long timeout; |
365 | 365 | ||
366 | /* display header on line 1 */ | 366 | /* display header on line 1 */ |
367 | if (v == SEQ_START_TOKEN) { | 367 | if (v == SEQ_START_TOKEN) { |
@@ -373,8 +373,8 @@ static int rxrpc_proc_peers_show(struct seq_file *m, void *v) | |||
373 | /* display one peer per line on subsequent lines */ | 373 | /* display one peer per line on subsequent lines */ |
374 | timeout = 0; | 374 | timeout = 0; |
375 | if (!list_empty(&peer->timeout.link)) | 375 | if (!list_empty(&peer->timeout.link)) |
376 | timeout = (signed long) peer->timeout.timo_jif - | 376 | timeout = (long) peer->timeout.timo_jif - |
377 | (signed long) jiffies; | 377 | (long) jiffies; |
378 | 378 | ||
379 | seq_printf(m, "%5hu %08x %5d %5d %8ld %5Zu %7lu\n", | 379 | seq_printf(m, "%5hu %08x %5d %5d %8ld %5Zu %7lu\n", |
380 | peer->trans->port, | 380 | peer->trans->port, |
@@ -468,7 +468,7 @@ static void rxrpc_proc_conns_stop(struct seq_file *p, void *v) | |||
468 | static int rxrpc_proc_conns_show(struct seq_file *m, void *v) | 468 | static int rxrpc_proc_conns_show(struct seq_file *m, void *v) |
469 | { | 469 | { |
470 | struct rxrpc_connection *conn; | 470 | struct rxrpc_connection *conn; |
471 | signed long timeout; | 471 | long timeout; |
472 | 472 | ||
473 | conn = list_entry(v, struct rxrpc_connection, proc_link); | 473 | conn = list_entry(v, struct rxrpc_connection, proc_link); |
474 | 474 | ||
@@ -484,8 +484,8 @@ static int rxrpc_proc_conns_show(struct seq_file *m, void *v) | |||
484 | /* display one conn per line on subsequent lines */ | 484 | /* display one conn per line on subsequent lines */ |
485 | timeout = 0; | 485 | timeout = 0; |
486 | if (!list_empty(&conn->timeout.link)) | 486 | if (!list_empty(&conn->timeout.link)) |
487 | timeout = (signed long) conn->timeout.timo_jif - | 487 | timeout = (long) conn->timeout.timo_jif - |
488 | (signed long) jiffies; | 488 | (long) jiffies; |
489 | 489 | ||
490 | seq_printf(m, | 490 | seq_printf(m, |
491 | "%5hu %08x %5hu %04hx %08x %-3.3s %08x %08x %5Zu %8ld\n", | 491 | "%5hu %08x %5hu %04hx %08x %-3.3s %08x %08x %5Zu %8ld\n", |