[U-Boot] [PATCH 31/51] fpga: altera: Make altera_validate return normal values

2014-09-21 Thread Marek Vasut
Make the function return either 0 or -EINVAL, that is, normal expected error codes and success codes instead of true/false nonsense. Signed-off-by: Marek Vasut Cc: Chin Liang See Cc: Dinh Nguyen Cc: Albert Aribaud Cc: Tom Rini Cc: Wolfgang Denk Cc: Pavel Machek --- drivers/fpga/altera.c |

Re: [U-Boot] [PATCH 31/51] fpga: altera: Make altera_validate return normal values

2014-09-22 Thread Pavel Machek
On Sun 2014-09-21 15:12:12, Marek Vasut wrote: > Make the function return either 0 or -EINVAL, that is, normal > expected error codes and success codes instead of true/false > nonsense. > > Signed-off-by: Marek Vasut > Cc: Chin Liang See > Cc: Dinh Nguyen > Cc: Albert Aribaud > Cc: Tom Rini >

Re: [U-Boot] [PATCH 31/51] fpga: altera: Make altera_validate return normal values

2014-09-22 Thread Marek Vasut
On Monday, September 22, 2014 at 11:16:04 AM, Pavel Machek wrote: > On Sun 2014-09-21 15:12:12, Marek Vasut wrote: > > Make the function return either 0 or -EINVAL, that is, normal > > expected error codes and success codes instead of true/false > > nonsense. > > > > Signed-off-by: Marek Vasut >