Re: [PATCH][next] io_uring: Fix uninitialized variable up.resv

From: Jens Axboe
Date: Mon Apr 26 2021 - 08:51:50 EST


On 4/26/21 3:47 AM, Colin King wrote:
> From: Colin Ian King <colin.king@xxxxxxxxxxxxx>
>
> The variable up.resv is not initialized and is being checking for a
> non-zero value in the call to _io_register_rsrc_update. Fix this by
> explicitly setting the pointer to 0.

Thanks Colin, applied. I changed the pointer to variable while doing
so.

--
Jens Axboe