[U-Boot-Users] [PATCH 18/20] [new uImage] Fix build problems on trab board

Bartlomiej Sieka tur at semihalf.com
Wed Mar 19 10:01:17 CET 2008


Wolfgang Denk wrote:
> In message <20080312201219.6444.56306.stgit at pollux.denx.de> you wrote:
>> diff --git a/board/trab/auto_update.c b/board/trab/auto_update.c
>> index fa08bff..5311e12 100644
>> --- a/board/trab/auto_update.c
>> +++ b/board/trab/auto_update.c
>> @@ -224,7 +224,7 @@ au_check_cksum_valid(int idx, long nbytes)
>>  		return -1;
>>  	}
>>  	/* check the data CRC */
>> -	if (!image_check_dcrc (hdr)) {
>> +	if (!image_check_dcrc (hdr))
>>  	{
> 
> This patch looks broken to me. You should keep the brace on the  same
> line  with  the  if,  and rather delete the next line with the single
> brace.

Will fix.

Regards,
Bartlomiej




More information about the U-Boot mailing list