We should return an error code here. In the current code they can only
fail if there is an allocation error so -ENOMEM is appropriate.
Signed-off-by: Dan Carpenter
diff --git a/drivers/gpu/drm/gma500/psb_drv.c b/drivers/gpu/drm/gma500/psb_drv.c
index 92e7e57..4eff0d6 100644
--- a/drivers/gpu/dr
On Fri, Apr 17, 2015 at 2:24 PM, Dan Carpenter
wrote:
> We should return an error code here. In the current code they can only
> fail if there is an allocation error so -ENOMEM is appropriate.
>
> Signed-off-by: Dan Carpenter
Reviewed-by: Patrik Jakobsson
> diff --git a/drivers/gpu/drm/gma50