[U-Boot] [PATCH v2 1/9] mpc8xxx: Display RDIMM if detected
Sergei Shtylyov
sshtylyov at mvista.com
Tue Dec 21 14:36:25 CET 2010
Hello.
On 19-12-2010 1:21, Wolfgang Denk wrote:
>> Print a message when a RDIMM is detected.
> ...
>> + } else
>> printf("ERROR: Mix of registered buffered and unbuffered "
>> "DIMMs detected!\n");
>> - }
> Mutli-line statement needs braces.
Well, not only that. CodingStyle requires that if some parts of the *if*
statement used {}, then all parts need to use {}.
> Best regards,
> Wolfgang Denk
WBR, Sergei
More information about the U-Boot
mailing list