Re: [PATCH next] zram: Fix uninitialized variable in zram_writeback_slots()

From: Dan Carpenter
Date: Wed Apr 09 2025 - 07:16:29 EST


On Wed, Apr 09, 2025 at 08:10:22PM +0900, Sergey Senozhatsky wrote:
> On (25/04/09 13:58), Dan Carpenter wrote:
> > The "ret" variable is only initialized on errors and not on success.
> > Initialize it to zero.
>
> Thank you Dan.
>
> > Fixes: 4529d2d13fd1 ("zram: modernize writeback interface")
>
> This is still in mm-unstable, mind if we fold the fix in?
> Or I can send a v4 with the fix applied.

No, problem. I understand how mm works.

regards,
dan carpenter