diff options
-rw-r--r-- | net/dccp/ackvec.c | 2 | ||||
-rw-r--r-- | net/rxrpc/krxtimod.c | 2 | ||||
-rw-r--r-- | net/rxrpc/proc.c | 12 |
3 files changed, 8 insertions, 8 deletions
diff --git a/net/dccp/ackvec.c b/net/dccp/ackvec.c index ce9cb77c5c29..2c77dafbd091 100644 --- a/net/dccp/ackvec.c +++ b/net/dccp/ackvec.c | |||
@@ -144,7 +144,7 @@ static inline int dccp_ackvec_set_buf_head_state(struct dccp_ackvec *av, | |||
144 | const unsigned char state) | 144 | const unsigned char state) |
145 | { | 145 | { |
146 | unsigned int gap; | 146 | unsigned int gap; |
147 | signed long new_head; | 147 | long new_head; |
148 | 148 | ||
149 | if (av->dccpav_vec_len + packets > av->dccpav_buf_len) | 149 | if (av->dccpav_vec_len + packets > av->dccpav_buf_len) |
150 | return -ENOBUFS; | 150 | return -ENOBUFS; |
diff --git a/net/rxrpc/krxtimod.c b/net/rxrpc/krxtimod.c index 3ac81cdd1211..3e7466900bd4 100644 --- a/net/rxrpc/krxtimod.c +++ b/net/rxrpc/krxtimod.c | |||
@@ -81,7 +81,7 @@ static int krxtimod(void *arg) | |||
81 | 81 | ||
82 | for (;;) { | 82 | for (;;) { |
83 | unsigned long jif; | 83 | unsigned long jif; |
84 | signed long timeout; | 84 | long timeout; |
85 | 85 | ||
86 | /* deal with the server being asked to die */ | 86 | /* deal with the server being asked to die */ |
87 | if (krxtimod_die) { | 87 | if (krxtimod_die) { |
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", |