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

From: Alan Cox
Date: Tue Aug 16 2011 - 11:44:20 EST


On Tue, 16 Aug 2011 18:04:52 +0300
Dan Carpenter <error27@xxxxxxxxx> wrote:

> > 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?

Typo looking at the original commit
--
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/