All of lore.kernel.org
 help / color / mirror / Atom feed
From: Marcin Slusarz <marcin.slusarz-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
To: Alexey Dobriyan <adobriyan-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
Cc: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org
Subject: Re: [libdrm PATCH RFC] nouveau: zero structs passed to ioctl
Date: Tue, 12 Jan 2010 16:43:14 +0100	[thread overview]
Message-ID: <20100112154314.GH2984@joi.lan> (raw)
In-Reply-To: <b6fcc0a1001120721w2842ea6fq393a1abd880cfd85-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.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
> <marcin.slusarz-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> 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. 

  parent reply	other threads:[~2010-01-12 15:43 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-01-12 14:37 [libdrm PATCH RFC] nouveau: zero structs passed to ioctl Marcin Slusarz
     [not found] ` <20100112143702.GC2984-OI9uyE9O0yo@public.gmane.org>
2010-01-12 15:21   ` Alexey Dobriyan
     [not found]     ` <b6fcc0a1001120721w2842ea6fq393a1abd880cfd85-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2010-01-12 15:43       ` Marcin Slusarz [this message]
     [not found]         ` <20100112154314.GH2984-OI9uyE9O0yo@public.gmane.org>
2010-01-12 15:45           ` Marcin Slusarz

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20100112154314.GH2984@joi.lan \
    --to=marcin.slusarz-re5jqeeqqe8avxtiumwx3w@public.gmane.org \
    --cc=adobriyan-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
    --cc=nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.