aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/slicoss
diff options
context:
space:
mode:
authorH Hartley Sweeten <hsweeten@visionengravers.com>2016-03-22 10:04:48 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-03-22 22:22:13 -0400
commitbd3a3cd6c27b117fb9a43a38c8072c95332beecc (patch)
tree1010ee2de51f0b55bd7acef80a7dc22afbf70081 /drivers/staging/slicoss
parentstaging: most: hdm-dim2: Remove possible dereference error (diff)
downloadlinux-dev-bd3a3cd6c27b117fb9a43a38c8072c95332beecc.tar.xz
linux-dev-bd3a3cd6c27b117fb9a43a38c8072c95332beecc.zip
staging: comedi: ni_mio_common: fix the ni_write[blw]() functions
Memory mapped io (dev->mmio) should not also be writing to the ioport (dev->iobase) registers. Add the missing 'else' to these functions. Fixes: 0953ee4acca0 ("staging: comedi: ni_mio_common: checkpatch.pl cleanup (else not useful)") Cc: <stable@vger.kernel.org> # 3.17+ Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com> Reviewed-by: Ian Abbott <abbotti@mev.co.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/slicoss')
0 files changed, 0 insertions, 0 deletions