Thread (25 messages) 25 messages, 5 authors, 7h ago

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

flat view

From: Sergey Senozhatsky <senozhatsky@chromium.org>
Date: 2026-10-08 03:52:30
Also in: linux-arm-msm, linux-block, linux-devicetree, lkml

On (26/10/06 16:53), Oreoluwa Babatunde wrote:
On 9/30/2026 10:43 PM, Sergey Senozhatsky wrote:
quoted
On (26/09/30 07:52), Georgi Djakov wrote:
[..]
quoted
@@ -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.
ACK. Will remove this.
Thanks, if you are going to add qpace zcomp backend, please note
that zcomp API is undergoing some architectural changes [1] (shouldn't
be too much extra work to adapt.)

[1] https://lore.kernel.org/linux-kernel/20261005122036.718976-1-senozhatsky@chromium.org (local)
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help