From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marek Vasut Date: Sat, 15 Mar 2014 00:10:48 +0100 Subject: [U-Boot] [PATCH 2/3] mmc: Convert mmc struct's name array to a pointer In-Reply-To: References: <1394619867-14491-1-git-send-email-panto@antoniou-consulting.com> <1394619867-14491-3-git-send-email-panto@antoniou-consulting.com> Message-ID: <201403150010.49003.marex@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Friday, March 14, 2014 at 09:55:08 PM, Simon Glass wrote: > Hi, > > On 12 March 2014 04:24, Pantelis Antoniou 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