[U-Boot] [PATCH] avr32: fix timer_init() return type

Reinhard Meyer u-boot at emk-elektronik.de
Thu Oct 13 12:27:38 CEST 2011


Dear Andreas Bießmann,
>>  	if (set_interrupt_handler(0, &timer_interrupt_handler, 3))
>> -		return;
>> +		return 0;
> 
> NAK, this is an error and should return a negative value (though the
> return value is currently not evaluated).

Agreed

> 
> BTW there is another patch pending ->
> http://patchwork.ozlabs.org/patch/117688/

I'll apply that one in the year 2015 ;)

NO.. its on my list for applying into next

Best Regards,
Reinhard


More information about the U-Boot mailing list