commit | 966b8266a4629a84042f8c237d767d133c456a10 | [log] [tgz] |
---|---|---|
author | Edward Cree <ecree@solarflare.com> | Mon Aug 24 16:18:51 2020 +0100 |
committer | David S. Miller <davem@davemloft.net> | Mon Aug 24 18:14:23 2020 -0700 |
tree | f3a0b6fe706a45a21f2ac44fb08de4df4f4a2c32 | |
parent | 59ebb4305c432b6ca34fd9704c9294c1f16e5847 [diff] |
sfc: fix boolreturn.cocci warning and rename function check_fcs() was returning bool as 0/1, which was a sign that the sense of the function was unclear: false was good, which doesn't really match a name like 'check_$thing'. So rename it to ef100_has_fcs_error(), and use proper booleans in the return statements. Reported-by: kernel test robot <lkp@intel.com> Signed-off-by: Edward Cree <ecree@solarflare.com> Signed-off-by: David S. Miller <davem@davemloft.net>