aboutsummaryrefslogtreecommitdiffstats
path: root/net/switchdev/switchdev.c
diff options
context:
space:
mode:
authorH Hartley Sweeten <[email protected]>2015-02-23 20:22:44 +0000
committerGreg Kroah-Hartman <[email protected]>2015-02-28 15:20:37 +0000
commit7e4f1e777814c6916b513b5dc90e030ee4e25f04 (patch)
tree1c074688e0e653fad3324aaceb34266db7c89731 /net/switchdev/switchdev.c
parentMerge tag 'iio-fixes-for-4.0b' of git://git.kernel.org/pub/scm/linux/kernel/g... (diff)
downloadkernel-7e4f1e777814c6916b513b5dc90e030ee4e25f04.tar.gz
kernel-7e4f1e777814c6916b513b5dc90e030ee4e25f04.zip
staging: comedi: comedi_isadma: fix "stalled" detect in comedi_isadma_disable_on_sample()
The "stalled" variable this function is used to detect if the DMA operation is stalled while trying to disable DMA on a full comedi sample. The reset of this variable should only occur when the remaining bytes of the DMA transfer does not equal the remaining bytes from the last check. Reported-by: coverity (CID 1271132) Signed-off-by: H Hartley Sweeten <[email protected]> Reviewed-by: Ian Abbott <[email protected]> Cc: stable <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions