[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <e858f6aa-7593-47f7-9bf1-64a747a2e0ed@stanley.mountain>
Date: Wed, 9 Apr 2025 14:12:34 +0300
From: Dan Carpenter <dan.carpenter@...aro.org>
To: Sergey Senozhatsky <senozhatsky@...omium.org>
Cc: Andrew Morton <akpm@...ux-foundation.org>,
Minchan Kim <minchan@...nel.org>, Jens Axboe <axboe@...nel.dk>,
Brian Geffon <bgeffon@...gle.com>, linux-kernel@...r.kernel.org,
linux-block@...r.kernel.org, kernel-janitors@...r.kernel.org
Subject: Re: [PATCH next] zram: Fix uninitialized variable in
zram_writeback_slots()
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
Powered by blists - more mailing lists