diff options
| author | Edward Cree <[email protected]> | 2020-08-24 15:18:51 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2020-08-25 01:14:23 +0000 |
| commit | 966b8266a4629a84042f8c237d767d133c456a10 (patch) | |
| tree | f3a0b6fe706a45a21f2ac44fb08de4df4f4a2c32 /drivers/net/wan/lapbether.c | |
| parent | net: ocelot: Add of_node_put() before return statement (diff) | |
| download | kernel-966b8266a4629a84042f8c237d767d133c456a10.tar.gz kernel-966b8266a4629a84042f8c237d767d133c456a10.zip | |
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 <[email protected]>
Signed-off-by: Edward Cree <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'drivers/net/wan/lapbether.c')
0 files changed, 0 insertions, 0 deletions
