Re: [PATCH -next] mtip32xx: fix potential NULL pointer dereferencein mtip_timeout_function()
From: Jens Axboe
Date: Thu Nov 08 2012 - 06:52:03 EST
On 2012-11-08 10:35, Wei Yongjun wrote:
> From: Wei Yongjun <yongjun_wei@xxxxxxxxxxxxxxxxx>
>
> 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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/