From: Jens Axboe <axboe@kernel.dk>
To: Asai Thambi S P <asamymuthupa@micron.com>
Cc: "linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
Sam Bradshaw <sbradshaw@micron.com>,
Dan Carpenter <dan.carpenter@oracle.com>
Subject: Re: [PATCH 1/2] mtip32xx: fix a smatch warning
Date: Sun, 14 Apr 2013 10:25:39 +0200 [thread overview]
Message-ID: <20130414082539.GF12244@kernel.dk> (raw)
In-Reply-To: <51685205.5080806@micron.com>
On Fri, Apr 12 2013, Asai Thambi S P wrote:
>
> Reported smatch warning:
> drivers/block/mtip32xx/mtip32xx.c:4163 mtip_block_shutdown() warn: variable dereferenced before check 'dd->disk' (see line 4159)
>
> dd->disk->disk_name accessed before the check if dd->disk is NULL. Fixed this
> and access of dd->queue/dd->disk->queue.
Applied for 3.10, thanks.
--
Jens Axboe
prev parent reply other threads:[~2013-04-14 8:26 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-04-12 18:27 [PATCH 1/2] mtip32xx: fix a smatch warning Asai Thambi S P
2013-04-14 8:25 ` Jens Axboe [this message]
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=20130414082539.GF12244@kernel.dk \
--to=axboe@kernel.dk \
--cc=asamymuthupa@micron.com \
--cc=dan.carpenter@oracle.com \
--cc=linux-kernel@vger.kernel.org \
--cc=sbradshaw@micron.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.