[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20091225101318.GQ3003@radis.liafa.jussieu.fr>
Date: Fri, 25 Dec 2009 11:13:18 +0100
From: Julien Cristau <jcristau@...ian.org>
To: Darren Jenkins <darrenrjenkins@...il.com>
Cc: David Airlie <airlied@...ux.ie>,
dri-devel mailing list <dri-devel@...ts.sourceforge.net>,
Kernel Janitors <kernel-janitors@...r.kernel.org>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
Subject: Re: drivers/gpu/drm/radeon: move a dereference below a NULL test
On Thu, Dec 24, 2009 at 23:44:30 +1100, Darren Jenkins wrote:
> If a NULL value is possible, the dereference should only occur after the
> NULL test.
>
> Signed-off-by: Darren Jenkins <darrenrjenkins@...il.com>
> diff --git a/drivers/gpu/drm/radeon/radeon_irq.c
> b/drivers/gpu/drm/radeon/radeon_irq.c
> index b79ecc4..2f349a3 100644
> --- a/drivers/gpu/drm/radeon/radeon_irq.c
> +++ b/drivers/gpu/drm/radeon/radeon_irq.c
> @@ -289,16 +289,16 @@ int radeon_irq_emit(struct drm_device *dev, void
> *data, struct drm_file *file_pr
Looks like your patches are whitespace-damaged. You'll need to fix your
MUA...
Cheers,
Julien
--
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