[Nouveau] [libdrm PATCH RFC] nouveau: zero structs passed to ioctl

Marcin Slusarz marcin.slusarz at gmail.com
Tue Jan 12 07:43:14 PST 2010


On Tue, Jan 12, 2010 at 05:21:51PM +0200, Alexey Dobriyan wrote:
> On Tue, Jan 12, 2010 at 4:37 PM, Marcin Slusarz
> <marcin.slusarz at gmail.com> wrote:
> > Subject: [libdrm PATCH] nouveau: zero structs passed to ioctl
> 
> Why?

To make it more reliable/predictable when someone will add a new
field or start to use now unused field on the kernel side.

> Any specific bug?

No, all of these structs have unused or uninitialized fields which
valgrind complained about. 


More information about the Nouveau mailing list