diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2012-07-20 14:17:00 +0300 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2012-07-25 14:12:17 +1000 |
commit | 1e179d4e283bd197035960ef751b5ccac06cbf91 (patch) | |
tree | 56c654d2772ceb77823669d79c0f1b491226dec5 /include | |
parent | d1c7871ddb1f588b8eb35affd9ee1a3d5e11cd0c (diff) | |
download | talos-op-linux-1e179d4e283bd197035960ef751b5ccac06cbf91.tar.gz talos-op-linux-1e179d4e283bd197035960ef751b5ccac06cbf91.zip |
drm/radeon: check for allocation failure in radeon_ring_backup()
Static checkers complain if this we don't check for allocation failure.
Also we can use the new kmalloc_array() function here as a cleanup.
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions