[U-Boot] [PATCH 2/3] mmc: Convert mmc struct's name array to a pointer
Marek Vasut
marex at denx.de
Sat Mar 15 00:10:48 CET 2014
On Friday, March 14, 2014 at 09:55:08 PM, Simon Glass wrote:
> Hi,
>
> On 12 March 2014 04:24, Pantelis Antoniou <panto at antoniou-consulting.com>
wrote:
> > Using an array is pointless; even more pointless (and scary) is using
> > sprintf to fill it without a format string.
>
> This is certainly better, but how about an mmc structure init function
> which sets this up?
You mean DM's .probe() ? :-)
Best regards,
Marek Vasut
More information about the U-Boot
mailing list