Re: [PATCH] tty: clearify structure initializer in notify_write()

From: Dan Carpenter
Date: Tue Aug 16 2011 - 11:07:11 EST


> On Sat, Jul 30, 2011 at 2:01 PM, Mathias Krause <minipli@xxxxxxxxxxxxxx> wrote:
> > Even though this is valid C we should not mix C99 initializers with
> > obfuscated ANSI C.

I saw this patch the first time and I couldn't figure out why the
original code was written that way. I'm curious, is there some trick
here that I don't see, or is it just a typo that happens to work?

regards,
dan carpenter
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/