On Wed, Oct 24, 2012 at 09:26:20PM +1100, Stephen Rothwell wrote: > > Hi Stephen, could you please elaborate, which bad usage hiding could be > > there? > > I though it might suppress a warning if someone added an entry with a >2 > character string, but testing shows that it does not, so that is OK. > There is still no need for the cast, though, or the second set of > braces. The C standard allows fixed length char arrays to be initialised > by string constants and discards the trailing NUL if necessary.
OK, fair enough. I'll post a new patch with all concerns fixed in one pass. Thanks all for comments! -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/