[PATCH] drm/rockchip: fix dma_alloc_attrs() error check

2015-01-21 Thread Dave Airlie
On 21 January 2015 at 12:43, Daniel Kurtz wrote: > Mark: did you get a chance to fixup the "Reported-by" line? It's not > a bit deal if you didn't. > > Dave: did you pick up this pull request? Did Mark request properly? I was waiting for the fixed reported-by but it isn't that urgent, I'll get

[PATCH] drm/rockchip: fix dma_alloc_attrs() error check

2015-01-21 Thread Daniel Kurtz
Mark: did you get a chance to fixup the "Reported-by" line? It's not a bit deal if you didn't. Dave: did you pick up this pull request? Did Mark request properly? On Fri, Jan 9, 2015 at 12:01 PM, Daniel Kurtz wrote: > On Wed, Jan 7, 2015 at 5:27 PM, Daniel Kurtz wrote: >> dma_alloc_attrs() re

[PATCH] drm/rockchip: fix dma_alloc_attrs() error check

2015-01-09 Thread Daniel Kurtz
On Wed, Jan 7, 2015 at 5:27 PM, Daniel Kurtz wrote: > dma_alloc_attrs() returns NULL if it cannot allocate a dma buffer (or > mapping), not a negative error code. > > Rerported-by: Pawel Osciak Oops! I just noticed that this is spelled wrong. Should be "Reported-by". Mark, could you fix up on

[PATCH] drm/rockchip: fix dma_alloc_attrs() error check

2015-01-07 Thread Daniel Kurtz
dma_alloc_attrs() returns NULL if it cannot allocate a dma buffer (or mapping), not a negative error code. Rerported-by: Pawel Osciak Signed-off-by: Daniel Kurtz --- drivers/gpu/drm/rockchip/rockchip_drm_gem.c | 9 +++-- 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/drivers/