Quoting Ville Syrjala (2019-07-10 14:49:37)
> From: Ville Syrjälä <[email protected]>
> 
> Zero initialize val2 so that we don't pass stack garbage to
> the pcode qgv read command. I suspect in this case pcode
> just ignores the initial value in that registers, but better
> safe than sorry.
> 
> Cc: Dan Carpenter <[email protected]>
> Reported-by: Dan Carpenter <[email protected]>
> Signed-off-by: Ville Syrjälä <[email protected]>

Fair enough to be defensive,
Reviewed-by: Chris Wilson <[email protected]>
-Chris
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

Reply via email to