On Thu, Oct 17, 2024 at 03:25:10AM -0600, Everest K.C. wrote: > 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. <everestkc@xxxxxxxxxxxxxxxx> > --- > V1 -> V2: - Fixed the caller > - Updated the changelog > Thanks! Reviewed-by: Dan Carpenter <dan.carpenter@xxxxxxxxxx> regards, dan carpenter