aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorEverest K.C. <[email protected]>2024-10-17 16:07:24 -0600
committerGreg Kroah-Hartman <[email protected]>2024-10-19 10:03:33 +0200
commit039beaa5ace1e2cf9f0f3fa542f3057f9ededa61 (patch)
tree5e7dfce5033d2059e4c3c101bfce92a85936dcf8 /tools/perf/scripts/python
parent1f6bfe18d0fc1c4f22720ed163c85f692ea65c6a (diff)
staging: gpib: Change return type and error code of fmh_gpib_get_dma_residue()
fmh_gpib_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 fmh_gpib_dma_read(). Fixes: 8e4841a0888c ("staging: gpib: Add Frank Mori Hess FPGA PCI GPIB driver") Reported-by: Shuah Khan <[email protected]> Signed-off-by: Everest K.C. <[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')
0 files changed, 0 insertions, 0 deletions