>> +     if (err == 1)
>> +             memcpy(calculate_ecc, redundant_ecc, 3);
>> +
>> +     if (err == 0 || err == 2)
>> +             return 0;
>> +
>> +     return -1;
>>  }
>
> That's wrong. Before your change when correct_data returned 1 this function
> returned 0. Now it returns -1.
>
> Marcin
>
>

Yes, I'm preparing a new patchset that also corrects that. Thanks

-- 
Best regards,

-----------------------------------------
Javier Martínez Canillas
(+34) 682 39 81 69
_______________________________________________
devel mailing list
[email protected]
http://driverdev.linuxdriverproject.org/mailman/listinfo/devel

Reply via email to