projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6274edc
)
qeth: replace PTR_RET with PTR_ERR_OR_ZERO
author
Duan Jiong
<
[email protected]
>
Mon, 28 Apr 2014 08:05:07 +0000
(10:05 +0200)
committer
David S. Miller
<
[email protected]
>
Mon, 28 Apr 2014 17:44:09 +0000
(13:44 -0400)
PTR_RET is deprecated. Do not recommend its usage anymore.
Use PTR_ERR_OR_ZERO instead.
Signed-off-by: Duan Jiong <
[email protected]
>
Signed-off-by: Martin Schwidefsky <
[email protected]
>
Signed-off-by: Frank Blaschka <
[email protected]
>
Signed-off-by: David S. Miller <
[email protected]
>
drivers/s390/net/qeth_core_main.c
patch
|
blob
|
history
diff --git
a/drivers/s390/net/qeth_core_main.c
b/drivers/s390/net/qeth_core_main.c
index 22470a3b182f0ba04c9a724d1fb26fc716bc19de..f5bd4229b19281fed466b3699c8dd49624371963 100644
(file)
--- a/
drivers/s390/net/qeth_core_main.c
+++ b/
drivers/s390/net/qeth_core_main.c
@@
-5824,7
+5824,7
@@
static int __init qeth_core_init(void)
if (rc)
goto out_err;
qeth_core_root_dev = root_device_register("qeth");
- rc = PTR_
RET
(qeth_core_root_dev);
+ rc = PTR_
ERR_OR_ZERO
(qeth_core_root_dev);
if (rc)
goto register_err;
qeth_core_header_cache = kmem_cache_create("qeth_hdr",