projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
60d676c
)
staging/zcache: don't use PTR_RET().
author
Rusty Russell
<rusty@rustcorp.com.au>
Mon, 15 Jul 2013 01:54:08 +0000
(11:24 +0930)
committer
Rusty Russell
<rusty@rustcorp.com.au>
Mon, 15 Jul 2013 01:55:05 +0000
(11:25 +0930)
We've already tested that it's an error.
Cc: Dan Magenheimer <dan.magenheimer@oracle.com>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
drivers/staging/zcache/zcache-main.c
patch
|
blob
|
history
diff --git
a/drivers/staging/zcache/zcache-main.c
b/drivers/staging/zcache/zcache-main.c
index dcceed29d31ae415818d1fceecc6518cbc017845..88e7fe7fe1837b2d7aecfdeb96b87492cf403319 100644
(file)
--- a/
drivers/staging/zcache/zcache-main.c
+++ b/
drivers/staging/zcache/zcache-main.c
@@
-1908,7
+1908,7
@@
static int zcache_init(void)
#endif
if (IS_ERR(old_ops) || old_ops) {
if (IS_ERR(old_ops))
- return PTR_
RET
(old_ops);
+ return PTR_
ERR
(old_ops);
pr_warn("%s: frontswap_ops overridden\n", namestr);
}
}