[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20160425091129.GN32731@imgtec.com>
Date: Mon, 25 Apr 2016 10:11:29 +0100
From: Eric Engestrom <eric.engestrom@...tec.com>
To: Dan Carpenter <dan.carpenter@...cle.com>
CC: Boris Brezillon <boris.brezillon@...e-electrons.com>,
<kernel-janitors@...r.kernel.org>, <linux-kernel@...r.kernel.org>,
<dri-devel@...ts.freedesktop.org>
Subject: Re: [patch] drm: atmel-hlcdc: fix a NULL check
On Mon, Apr 25, 2016 at 12:04:54PM +0300, Dan Carpenter wrote:
> If kmalloc() returned NULL we would end up dereferencing "state" a
> couple lines later.
>
> Signed-off-by: Dan Carpenter <dan.carpenter@...cle.com>
Reviewed-by: Eric Engestrom <eric.engestrom@...tec.com>
Powered by blists - more mailing lists