The Linux Kernel Mailing List
 help / color / mirror / Atom feed
From: Jens Axboe <axboe@kernel.dk>
To: Tong Zhang <ztong0001@gmail.com>,
	danil.kipnis@cloud.ionos.com, jinpu.wang@cloud.ionos.com,
	linux-block@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] rnbd: fix uninitialized variable
Date: Mon, 24 Aug 2020 13:45:41 -0600	[thread overview]
Message-ID: <3b904063-ca08-092d-a861-e1c80d511ab1@kernel.dk> (raw)
In-Reply-To: <20200824194322.337375-1-ztong0001@gmail.com>

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@gmail.com>
Date:   Mon Aug 17 23:49:25 2020 -0700

    block/rnbd: Ensure err is always initialized in process_rdma

-- 
Jens Axboe


  reply	other threads:[~2020-08-24 19:45 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-08-24 19:43 [PATCH] rnbd: fix uninitialized variable Tong Zhang
2020-08-24 19:45 ` Jens Axboe [this message]
2020-08-24 19:46   ` Tong Zhang

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3b904063-ca08-092d-a861-e1c80d511ab1@kernel.dk \
    --to=axboe@kernel.dk \
    --cc=danil.kipnis@cloud.ionos.com \
    --cc=jinpu.wang@cloud.ionos.com \
    --cc=linux-block@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=ztong0001@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox