[patch] drm/nouveau: testing the wrong variable

2011-10-19 Thread Dan Carpenter
memtimings is a valid pointer here, the intent was to test for kcalloc() failure. Signed-off-by: Dan Carpenter diff --git a/drivers/gpu/drm/nouveau/nouveau_perf.c b/drivers/gpu/drm/nouveau/nouveau_perf.c index 9f178aa..33d03fb 100644 --- a/drivers/gpu/drm/nouveau/nouveau_perf.c +++ b/drivers/gp

[patch] drm/nouveau: testing the wrong variable

2011-10-18 Thread Ben Skeggs
On Tue, 2011-10-18 at 09:07 +0300, Dan Carpenter wrote: > memtimings is a valid pointer here, the intent was to test for > kcalloc() failure. I've queued it, thanks! Ben. > > Signed-off-by: Dan Carpenter > > diff --git a/drivers/gpu/drm/nouveau/nouveau_perf.c > b/drivers/gpu/drm/nouveau/nouvea

[patch] drm/nouveau: testing the wrong variable

2011-10-18 Thread Dan Carpenter
memtimings is a valid pointer here, the intent was to test for kcalloc() failure. Signed-off-by: Dan Carpenter diff --git a/drivers/gpu/drm/nouveau/nouveau_perf.c b/drivers/gpu/drm/nouveau/nouveau_perf.c index 9f178aa..33d03fb 100644 --- a/drivers/gpu/drm/nouveau/nouveau_perf.c +++ b/drivers/gp

Re: [patch] drm/nouveau: testing the wrong variable

2011-10-17 Thread Ben Skeggs
On Tue, 2011-10-18 at 09:07 +0300, Dan Carpenter wrote: > memtimings is a valid pointer here, the intent was to test for > kcalloc() failure. I've queued it, thanks! Ben. > > Signed-off-by: Dan Carpenter > > diff --git a/drivers/gpu/drm/nouveau/nouveau_perf.c > b/drivers/gpu/drm/nouveau/nouvea