From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marcin Slusarz Subject: Re: [libdrm PATCH RFC] nouveau: zero structs passed to ioctl Date: Tue, 12 Jan 2010 16:43:14 +0100 Message-ID: <20100112154314.GH2984@joi.lan> References: <20100112143702.GC2984@joi.lan> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: nouveau-bounces-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org Errors-To: nouveau-bounces-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org To: Alexey Dobriyan Cc: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org List-Id: nouveau.vger.kernel.org On Tue, Jan 12, 2010 at 05:21:51PM +0200, Alexey Dobriyan wrote: > On Tue, Jan 12, 2010 at 4:37 PM, Marcin Slusarz > 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.