aboutsummaryrefslogtreecommitdiff
path: root/scripts/gcc-plugins/cyc_complexity_plugin.c
diff options
context:
space:
mode:
authorMika Kuoppala <[email protected]>2017-02-28 17:28:11 +0200
committerMika Kuoppala <[email protected]>2017-03-03 16:46:44 +0200
commit054b9acde6f9b7bd5e1e9739777d1cddda048305 (patch)
treea293a2c9b8b9b60723a9aaa85e7d78626fbe993d /scripts/gcc-plugins/cyc_complexity_plugin.c
parente71677698b27f3b460d44f67389b43c4353522dd (diff)
drm/i915/gtt: Setup vm callbacks late
If we manage to tangle errorpaths and get call to callbacks, it is better to defensively keep them as null until object init is finished so that we get clean null deref on callsite, instead of more cryptic wreckage with partly initialized vm objects. Signed-off-by: Mika Kuoppala <[email protected]> Reviewed-by: Chris Wilson <[email protected]> Link: http://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions