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

From: Sergey Senozhatsky

Date: Thu Oct 01 2026 - 01:43:44 EST


On (26/09/30 07:52), Georgi Djakov wrote:
[..]
> @@ -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.