aboutsummaryrefslogtreecommitdiff
path: root/scripts/objdiff
diff options
context:
space:
mode:
authorRob Clark <[email protected]>2014-06-07 10:55:39 -0400
committerDaniel Vetter <[email protected]>2014-06-18 13:50:25 +0200
commitc3e25ae34fab3557b17a585446b5576e49d2f203 (patch)
treeac0ecd3dc3135398ac02c7808560feef63ae0e97 /scripts/objdiff
parent735b9ffada0563afa52d0879cf6d630819ee68ad (diff)
drm: fix uninitialized acquire_ctx fields (v2)
The acquire ctx will typically be declared on the stack, which means we could have garbage values for any uninitialized field. In this case, it was triggering WARN_ON()s because 'contended' had garbage value. Go ahead and use memset() to be more future-proof. v2: now with extra brown paper bag Reported-by: Ville Syrjälä <[email protected]> Signed-off-by: Rob Clark <[email protected]> Reviewed-by: Ville Syrjälä <[email protected]> Tested-by: Ville Syrjälä <[email protected]> Signed-off-by: Daniel Vetter <[email protected]>
Diffstat (limited to 'scripts/objdiff')
0 files changed, 0 insertions, 0 deletions