On Fri, Feb 1, 2013 at 11:20 AM, Joe Perches <j...@perches.com> wrote: >> @@ -15,13 +15,15 @@ struct parsed_partitions { >> int flags; >> bool has_info; >> struct partition_meta_info info; >> - } parts[DISK_MAX_PARTS]; >> + } *parts; > > This is relatively unusual style. > Could you break out this struct instead?
IMO, looks it isn't necessary since no one uses the type of the embedded structure directly, and the style isn't introduced by this patch, which only follows the previous one. Thanks, -- Ming Lei -- 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/