Commit a8fc3d8d authored by Kris Katterjohn's avatar Kris Katterjohn Committed by David S. Miller

[NET]: "signed long" -> "long"

Signed-off-by: default avatarKris Katterjohn <kjak@users.sourceforge.net>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent ab67a4d5
...@@ -144,7 +144,7 @@ static inline int dccp_ackvec_set_buf_head_state(struct dccp_ackvec *av, ...@@ -144,7 +144,7 @@ static inline int dccp_ackvec_set_buf_head_state(struct dccp_ackvec *av,
const unsigned char state) const unsigned char state)
{ {
unsigned int gap; unsigned int gap;
signed long new_head; long new_head;
if (av->dccpav_vec_len + packets > av->dccpav_buf_len) if (av->dccpav_vec_len + packets > av->dccpav_buf_len)
return -ENOBUFS; return -ENOBUFS;
......
...@@ -81,7 +81,7 @@ static int krxtimod(void *arg) ...@@ -81,7 +81,7 @@ static int krxtimod(void *arg)
for (;;) { for (;;) {
unsigned long jif; unsigned long jif;
signed long timeout; long timeout;
/* deal with the server being asked to die */ /* deal with the server being asked to die */
if (krxtimod_die) { if (krxtimod_die) {
......
...@@ -361,7 +361,7 @@ static void rxrpc_proc_peers_stop(struct seq_file *p, void *v) ...@@ -361,7 +361,7 @@ static void rxrpc_proc_peers_stop(struct seq_file *p, void *v)
static int rxrpc_proc_peers_show(struct seq_file *m, void *v) static int rxrpc_proc_peers_show(struct seq_file *m, void *v)
{ {
struct rxrpc_peer *peer = list_entry(v, struct rxrpc_peer, proc_link); struct rxrpc_peer *peer = list_entry(v, struct rxrpc_peer, proc_link);
signed long timeout; long timeout;
/* display header on line 1 */ /* display header on line 1 */
if (v == SEQ_START_TOKEN) { if (v == SEQ_START_TOKEN) {
...@@ -373,8 +373,8 @@ static int rxrpc_proc_peers_show(struct seq_file *m, void *v) ...@@ -373,8 +373,8 @@ static int rxrpc_proc_peers_show(struct seq_file *m, void *v)
/* display one peer per line on subsequent lines */ /* display one peer per line on subsequent lines */
timeout = 0; timeout = 0;
if (!list_empty(&peer->timeout.link)) if (!list_empty(&peer->timeout.link))
timeout = (signed long) peer->timeout.timo_jif - timeout = (long) peer->timeout.timo_jif -
(signed long) jiffies; (long) jiffies;
seq_printf(m, "%5hu %08x %5d %5d %8ld %5Zu %7lu\n", seq_printf(m, "%5hu %08x %5d %5d %8ld %5Zu %7lu\n",
peer->trans->port, peer->trans->port,
...@@ -468,7 +468,7 @@ static void rxrpc_proc_conns_stop(struct seq_file *p, void *v) ...@@ -468,7 +468,7 @@ static void rxrpc_proc_conns_stop(struct seq_file *p, void *v)
static int rxrpc_proc_conns_show(struct seq_file *m, void *v) static int rxrpc_proc_conns_show(struct seq_file *m, void *v)
{ {
struct rxrpc_connection *conn; struct rxrpc_connection *conn;
signed long timeout; long timeout;
conn = list_entry(v, struct rxrpc_connection, proc_link); conn = list_entry(v, struct rxrpc_connection, proc_link);
...@@ -484,8 +484,8 @@ static int rxrpc_proc_conns_show(struct seq_file *m, void *v) ...@@ -484,8 +484,8 @@ static int rxrpc_proc_conns_show(struct seq_file *m, void *v)
/* display one conn per line on subsequent lines */ /* display one conn per line on subsequent lines */
timeout = 0; timeout = 0;
if (!list_empty(&conn->timeout.link)) if (!list_empty(&conn->timeout.link))
timeout = (signed long) conn->timeout.timo_jif - timeout = (long) conn->timeout.timo_jif -
(signed long) jiffies; (long) jiffies;
seq_printf(m, seq_printf(m,
"%5hu %08x %5hu %04hx %08x %-3.3s %08x %08x %5Zu %8ld\n", "%5hu %08x %5hu %04hx %08x %-3.3s %08x %08x %5Zu %8ld\n",
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment