]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
drm/radeon/si: make sure mc ucode is loaded before checking the size
authorAlex Deucher <alexdeucher@gmail.com>
Wed, 16 Apr 2014 13:42:22 +0000 (09:42 -0400)
committerChristian König <christian.koenig@amd.com>
Thu, 17 Apr 2014 12:14:41 +0000 (14:14 +0200)
commit8c79bae6a30f606b7a4e17c994bc5f72f8fdaf11
treea8fad897868c75f5766f69ce427e93d8525386b7
parentf8a2645ecede4eaf90b3d785f2805c8ecb76d43e
drm/radeon/si: make sure mc ucode is loaded before checking the size

Avoid a possible segfault.

Noticed-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
drivers/gpu/drm/radeon/si.c