Thread (26 messages) 26 messages, 5 authors, 1d ago

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

flat view

From: Oreoluwa Babatunde <hidden>
Date: 2026-10-06 23:53:39
Also in: linux-arm-msm, linux-block, linux-devicetree, lkml

On 9/30/2026 10:43 PM, Sergey Senozhatsky wrote:
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,
Oreoluwa
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help