projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5e96d78
)
ipx: remove unnecessary casting on ntohl
author
Fabian Frederick
<fabf@skynet.be>
Mon, 27 Oct 2014 19:55:08 +0000
(20:55 +0100)
committer
David S. Miller
<davem@davemloft.net>
Mon, 27 Oct 2014 20:03:53 +0000
(16:03 -0400)
use %08X instead of %08lX and remove casting.
Suggested-by: Joe Perches <joe@perches.com>
Signed-off-by: Fabian Frederick <fabf@skynet.be>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipx/ipx_proc.c
patch
|
blob
|
blame
|
history
diff --git
a/net/ipx/ipx_proc.c
b/net/ipx/ipx_proc.c
index e15c16a517e72c162d3442bfa11fccfe3ef371b5..8391191d3d9c1b759d76c24e2a9e3a788dea5c7e 100644
(file)
--- a/
net/ipx/ipx_proc.c
+++ b/
net/ipx/ipx_proc.c
@@
-89,8
+89,8
@@
static int ipx_seq_route_show(struct seq_file *seq, void *v)
seq_printf(seq, "%08lX ", (unsigned long int)ntohl(rt->ir_net));
if (rt->ir_routed)
- seq_printf(seq, "%08
l
X %02X%02X%02X%02X%02X%02X\n",
-
(long unsigned int)
ntohl(rt->ir_intrfc->if_netnum),
+ seq_printf(seq, "%08X %02X%02X%02X%02X%02X%02X\n",
+ ntohl(rt->ir_intrfc->if_netnum),
rt->ir_router_node[0], rt->ir_router_node[1],
rt->ir_router_node[2], rt->ir_router_node[3],
rt->ir_router_node[4], rt->ir_router_node[5]);