projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1ba3aab
)
vxlan: Use ERR_CAST inlined function instead of ERR_PTR(PTR_ERR(...))
author
Duan Jiong
<duanj.fnst@cn.fujitsu.com>
Fri, 1 Nov 2013 05:09:43 +0000
(13:09 +0800)
committer
David S. Miller
<davem@davemloft.net>
Tue, 5 Nov 2013 01:02:33 +0000
(20:02 -0500)
trivial patch converting ERR_PTR(PTR_ERR()) into ERR_CAST().
No functional changes.
Signed-off-by: Duan Jiong <duanj.fnst@cn.fujitsu.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/vxlan.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/net/vxlan.c
b/drivers/net/vxlan.c
index 24260ced86d2e6f84f95ba9240a5617c070c63e4..78df8f39e57cec7e9280811005b4a417b45ff35d 100644
(file)
--- a/
drivers/net/vxlan.c
+++ b/
drivers/net/vxlan.c
@@
-2285,7
+2285,7
@@
static struct vxlan_sock *vxlan_socket_create(struct net *net, __be16 port,
sock = create_v4_sock(net, port);
if (IS_ERR(sock)) {
kfree(vs);
- return ERR_
PTR(PTR_ERR(sock)
);
+ return ERR_
CAST(sock
);
}
vs->sock = sock;