[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <509B9CC2.4070502@kernel.dk>
Date: Thu, 08 Nov 2012 12:51:30 +0100
From: Jens Axboe <axboe@...nel.dk>
To: Wei Yongjun <weiyj.lk@...il.com>
CC: smani@...ron.com, yongjun_wei@...ndmicro.com.cn,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH -next] mtip32xx: fix potential NULL pointer dereference
in mtip_timeout_function()
On 2012-11-08 10:35, Wei Yongjun wrote:
> From: Wei Yongjun <yongjun_wei@...ndmicro.com.cn>
>
> The dereference to port should be moved below the NULL test.
>
> dpatch engine is used to auto generate this patch.
> (https://github.com/weiyj/dpatch)
Thanks, it definitely doesn't make sense to check for !port after having
dereferenced it. Applied.
--
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