aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/staging/zcache/zcache-main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/zcache/zcache-main.c b/drivers/staging/zcache/zcache-main.c
index dcceed29d31a..88e7fe7fe183 100644
--- a/drivers/staging/zcache/zcache-main.c
+++ b/drivers/staging/zcache/zcache-main.c
@@ -1908,7 +1908,7 @@ static int zcache_init(void)
1908#endif 1908#endif
1909 if (IS_ERR(old_ops) || old_ops) { 1909 if (IS_ERR(old_ops) || old_ops) {
1910 if (IS_ERR(old_ops)) 1910 if (IS_ERR(old_ops))
1911 return PTR_RET(old_ops); 1911 return PTR_ERR(old_ops);
1912 pr_warn("%s: frontswap_ops overridden\n", namestr); 1912 pr_warn("%s: frontswap_ops overridden\n", namestr);
1913 } 1913 }
1914 } 1914 }