[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20140815125208.GA19855@griffinp-ThinkPad-X1-Carbon-2nd>
Date: Fri, 15 Aug 2014 13:52:08 +0100
From: Peter Griffin <peter.griffin@...aro.org>
To: Russell King - ARM Linux <linux@....linux.org.uk>
Cc: linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org,
chris@...ntf.net, ulf.hansson@...aro.org,
linux-mmc@...r.kernel.org, zhangfei.gao@...vell.com,
prakity@...vell.com, patches@...aro.org, lee.jones@...aro.org
Subject: Re: [PATCH] mmc: sdhci-pxav3: set_uhs_signaling is initialized twice
differently
Hi Russell,
> > This happened in
> > commit 96d7b78cfc2f ("mmc: sdhci: convert sdhci_set_uhs_signaling() into a library function")
> > commit a702c8abb2a9 ("mmc: host: split up sdhci-pxa, create sdhci-pxav3.c")'
>
> This is exactly why named initialisers should always follow the
> declaration order in the structure definition.
>
> It also helps avoid git merge to properly resolve two additions of
> the same member (possibly with a conflict) rather than just adding
> both.
Ah yes that makes a lot of sense. I will send a V2 in a moment, as the line I
removed now means that it's not in order with the structure definition.
regards,
Peter.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists