winsys/svga: check correct member after create
authorGrazvydas Ignotas <notasas@gmail.com>
Mon, 22 Jan 2018 22:41:00 +0000 (15:41 -0700)
committerBrian Paul <brianp@vmware.com>
Tue, 23 Jan 2018 18:04:07 +0000 (11:04 -0700)
commit224fd17e1ef5173f4406bdbcfd9434c3e0c38b22
tree3061f401cd9203205372a176e4a91032f10ea91c
parent08085df3132fc7283b2a181221d748e6e4607812
winsys/svga: check correct member after create

.mob_fenced was already checked, probably a copy-paste bug.
Found by Coccinelle.

Signed-off-by: Grazvydas Ignotas <notasas@gmail.com>
Reviewed-by: Eric Engestrom <eric.engestrom@imgtec.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
src/gallium/winsys/svga/drm/vmw_screen_pools.c