aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/net_dropmonitor.py
diff options
context:
space:
mode:
authorEverest K.C. <[email protected]>2024-10-17 03:25:10 -0600
committerGreg Kroah-Hartman <[email protected]>2024-10-19 10:00:42 +0200
commit14bcf831f0d79e666e2137ecc1c79b09cfddb9d9 (patch)
tree9b5f7d51be16cdd23a62488849bdb2b8d4e28e10 /tools/perf/scripts/python/net_dropmonitor.py
parent0ed8194ae410495d18df016509030a82f01af9be (diff)
staging: gpib: Change return type and error code of fluke_get_dma_residue
fluke_get_dma_residue() returns unsigned int with -1 as error code. This error cannot be caught. Fix this by changing the return type of the function to int and returning the error code, that was captured. Also, change the data type of variable residue to int in the function fluke_dma_read(). Fixes: 55936779f496 ("staging: gpib: Add Fluke cda based cards GPIB driver") Signed-off-by: Everest K.C. <[email protected]> Reviewed-by: Dan Carpenter <[email protected]> Reviewed-by: Shuah Khan <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions