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:
0f8ee7f
)
lcs: replace PTR_RET with PTR_ERR_OR_ZERO
author
Duan Jiong
<
[email protected]
>
Mon, 28 Apr 2014 08:05:06 +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/lcs.c
patch
|
blob
|
history
diff --git
a/drivers/s390/net/lcs.c
b/drivers/s390/net/lcs.c
index c461f2aac610ea6a8580c504c9a2fbb9dcb92979..8d5d96969c39213a06124934182d938fd834ec7a 100644
(file)
--- a/
drivers/s390/net/lcs.c
+++ b/
drivers/s390/net/lcs.c
@@
-2442,7
+2442,7
@@
__init lcs_init_module(void)
if (rc)
goto out_err;
lcs_root_dev = root_device_register("lcs");
- rc = PTR_
RET
(lcs_root_dev);
+ rc = PTR_
ERR_OR_ZERO
(lcs_root_dev);
if (rc)
goto register_err;
rc = ccw_driver_register(&lcs_ccw_driver);