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:
d66cb37
)
claw: replace PTR_RET with PTR_ERR_OR_ZERO
author
Frank Blaschka
<frank.blaschka@de.ibm.com>
Mon, 28 Apr 2014 08:05:10 +0000
(10:05 +0200)
committer
David S. Miller
<davem@davemloft.net>
Mon, 28 Apr 2014 17:44:10 +0000
(13:44 -0400)
PTR_RET is deprecated. Do not recommend its usage anymore.
Use PTR_ERR_OR_ZERO instead.
Signed-off-by: Frank Blaschka <frank.blaschka@de.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/s390/net/claw.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/s390/net/claw.c
b/drivers/s390/net/claw.c
index fd7b3bd807896556d0743660069aff8a44c3e072..d837c3c5330fab5c2c77548f31996db3dacad763 100644
(file)
--- a/
drivers/s390/net/claw.c
+++ b/
drivers/s390/net/claw.c
@@
-3348,7
+3348,7
@@
static int __init claw_init(void)
}
CLAW_DBF_TEXT(2, setup, "init_mod");
claw_root_dev = root_device_register("claw");
- ret = PTR_
RET
(claw_root_dev);
+ ret = PTR_
ERR_OR_ZERO
(claw_root_dev);
if (ret)
goto register_err;
ret = ccw_driver_register(&claw_ccw_driver);