[REGRESSION BUG] at91 is broken on barebox

Jean-Christophe PLAGNIOL-VILLARD plagnioj at jcrosoft.com
Fri Dec 26 01:51:43 PST 2014


	since the switch to ERR_PTR & co

	for dev_get_resource_by_name & others the at91 is broken

	as on barebox we use a 1:1 mapping and the check of the IS_ERR is
	((unsigned long)-MAX_ERRNO)

	but on at91 the PIT and so on are at 0xfffffd30 so on always seen as
	an error

	so can we revert the commit on 

	ommit 92cc1b1f9e3363046583962859a3a8c054f4b94d

	& co

Best Regards,

More information about the barebox mailing list