[PATCH] drmPrime*: initialize output args to 0
guillaume.desmottes at collabora.co.uk
Tue May 5 09:12:12 PDT 2015
On Tue, 2015-05-05 at 16:12 +0100, Emil Velikov wrote:
> As mentioned before one could add the appropriate Valgrind
> annotations. Although using memclear() or this will do just fine :-)
> Any objections against memclear ? it will save us some head-scratching
> when/if someone decides to extend struct drm_prime_handle. If you and
> others are ok with it, I'll amend the patch locally before pushing in
> the next week or so.
Yeah memclear sounds like a good idea to me as well.
More information about the dri-devel