Thread (2 messages) 2 messages, 2 authors, 2014-08-01

Re: [PATCH 2/5] raid: Require designated initialization of structures

From: Josh Triplett <josh@joshtriplett.org>
Date: 2014-08-01 01:30:30
Also in: linux-fsdevel, linux-kbuild, linux-raid, lkml

On Fri, Aug 01, 2014 at 11:10:55AM +1000, NeilBrown wrote:
On Thu, 31 Jul 2014 16:47:35 -0700 Josh Triplett [off-list ref]
wrote:
quoted
Mark raid6_calls and other structures containing function pointers with
__designated_init.  Fix implementations in lib/raid6/ to use designated
initializers; this also simplifies those initializers using the default
initialization of fields to 0.

Signed-off-by: Josh Triplett <josh@joshtriplett.org>
Looks like an excellent idea!
Feel free to forward this upstream on my behalf, or remind me once the first
patch is in -next, and I'll take this one myself - whichever you prefer.

 Acked-by: NeilBrown [off-list ref]
Thanks!  Ideally, I'd like to see the whole series go in through one
tree, which is why I CCed Andrew.  I can easily produce several dozen
more patches like these, but I just included enough examples to motivate
patch 1, and I can send more in any order once that one goes in.

- Josh Triplett
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help