aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorYang Li <[email protected]>2022-02-16 09:45:07 +0800
committerJakub Kicinski <[email protected]>2022-02-16 20:47:52 -0800
commit8c16baa51beb50e091f6652c47fc1c8501b93611 (patch)
tree80db63a1420ccdde2bd46350d217c781dd8eedcd /tools/perf/scripts/python
parentc8620335951d38f26094877f83167dfd09074224 (diff)
net: Fix an ignored error return from dm9051_get_regs()
The return from the call to dm9051_get_regs() is int, it can be a negative error code, however this is being assigned to an unsigned int variable 'ret', so making 'ret' an int. Eliminate the following coccicheck warning: ./drivers/net/ethernet/davicom/dm9051.c:527:5-8: WARNING: Unsigned expression compared with zero: ret < 0 Reported-by: Abaci Robot <[email protected]> Signed-off-by: Yang Li <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions