Re: [PATCH] rnbd: fix uninitialized variable

From: Tong Zhang
Date: Mon Aug 24 2020 - 15:47:04 EST


Got it. Thanks Jens.

On Mon, Aug 24, 2020 at 3:45 PM Jens Axboe <axboe@xxxxxxxxx> wrote:
>
> On 8/24/20 1:43 PM, Tong Zhang wrote:
> > variable err is uninitialized when bio is an error code
>
> It's fixed in Linus's tree:
>
> commit 17bc10300c69bd51b82983cdadafa0a7791f074e
> Author: Nathan Chancellor <natechancellor@xxxxxxxxx>
> Date: Mon Aug 17 23:49:25 2020 -0700
>
> block/rnbd: Ensure err is always initialized in process_rdma
>
> --
> Jens Axboe
>