OSDN Git Service

radeon: initialize hole variable before calling container_of
authorJulien Isorce <jisorce@oblong.com>
Mon, 27 Feb 2017 13:42:17 +0000 (13:42 +0000)
committerEmil Velikov <emil.l.velikov@gmail.com>
Wed, 12 Apr 2017 12:30:22 +0000 (13:30 +0100)
commit0f51d37f733f8b6ecbe444fbf2536cd403d3f285
tree9a16764e03eddf990909e948967c0cbb1f5332fa
parent1b2bcb6826ff8855e96117c9523821336a3be88a
radeon: initialize hole variable before calling container_of

Like in a few other places in that radeon_drm_bo.c file.

CID 715739.

Signed-off-by: Julien Isorce <jisorce@oblong.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
(cherry picked from commit ce27b27c38acd5a92cf45e7ddc2434f2c04191ee)
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=99515
Nominated-by: Mauro Rossi <issor.oruam@gmail.com>
src/gallium/winsys/radeon/drm/radeon_drm_bo.c