]> git.ipfire.org Git - people/ms/linux.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)
committerJiri Slaby <jslaby@suse.cz>
Fri, 6 Jun 2014 10:38:13 +0000 (12:38 +0200)
commit5bbd7bffabfb02b0467ccd3c6ade2b32c738eb70
tree127dca22c020f65510d709535ec4de6cb5e277a2
parent0f9aed4142002f86e1eef78a2506e8c650f2a85a
drm/radeon/si: make sure mc ucode is loaded before checking the size

commit 8c79bae6a30f606b7a4e17c994bc5f72f8fdaf11 upstream.

Avoid a possible segfault.

Noticed-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
drivers/gpu/drm/radeon/si.c