Thread (29 messages) 29 messages, 6 authors, 6d ago

Re: [PATCH 4/6] zram: Add QPaCE zcomp backend

flat view

From: Sergey Senozhatsky <senozhatsky@chromium.org>
Date: 2026-10-01 05:43:38
Also in: linux-arm-msm, linux-block, linux-devicetree, lkml

On (26/09/30 07:52), Georgi Djakov wrote:
[..]
quoted hunk ↗ jump to hunk
@@ -80,10 +87,10 @@ static const struct zcomp_ops *lookup_backend_ops(const char *comp)
 
 	while (backends[i]) {
 		if (sysfs_streq(comp, backends[i]->name))
-			break;
+			return backends[i];
 		i++;
 	}
-	return backends[i];
+	return NULL;
 }
This hunk looks unrelated to the patch in question.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help