Tag: 8032214346c0c892e859cf6eee6c8ba305cbfe78

i2c/i2c-pasemi.c: Fix unsigned return type

Author: Julia Lawall <julia@diku.dk> The function has an unsigned return type, but returns a negative constant to indicate an error condition. The result of calling the function is always stored in a variable of type (signed) int, and thus unsigned can be dropped from the return type. A sematic match that finds this problem is …

Continue reading