[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20130414082539.GF12244@kernel.dk>
Date: Sun, 14 Apr 2013 10:25:39 +0200
From: Jens Axboe <axboe@...nel.dk>
To: Asai Thambi S P <asamymuthupa@...ron.com>
Cc: "linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
Sam Bradshaw <sbradshaw@...ron.com>,
Dan Carpenter <dan.carpenter@...cle.com>
Subject: Re: [PATCH 1/2] mtip32xx: fix a smatch warning
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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists