linux/drivers/staging
Ian Abbott 80eb7a506f staging: comedi: Fix reversed test in comedi_device_attach()
Commit 3902a37028 (staging: comedi:
refactor comedi_device_attach() a bit) by yours truly introduced an
inverted logic bug in comedi_device_attach() for the case where the
driver expects the device to be configured by driver name rather than
board name.  The result of a strcmp() is being tested incorrectly.  Fix
it.

Thanks to Stephen N Chivers for discovering the bug and suggesting the
fix.

Cc: <stable@vger.kernel.org> # 3.5.x
Signed-off-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2012-08-14 16:52:17 -07:00
..
android
asus_oled
bcm Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs 2012-08-01 10:26:23 -07:00
ccg
comedi staging: comedi: Fix reversed test in comedi_device_attach() 2012-08-14 16:52:17 -07:00
cptm1217
crystalhd
csr staging: csr: delete a bunch of unused library functions 2012-07-20 17:25:09 -07:00
cxt1e1
echo
et131x
frontier
ft1000
gdm72xx Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs 2012-08-01 10:26:23 -07:00
iio
ipack
keucr
line6
media Merge branch 'v4l_for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media 2012-07-31 18:47:44 -07:00
net
nvec Staging tree patches for 3.6-rc1 2012-07-26 11:14:49 -07:00
octeon staging: octeon_ethernet: Convert to use device tree. 2012-07-23 13:54:53 +01:00
olpc_dcon drivers: OLPC: update various drivers to include olpc-ec.h 2012-07-31 23:27:29 -04:00
omap-thermal
omapdrm Merge branch 'drm-next' of git://people.freedesktop.org/~airlied/linux 2012-07-26 14:18:18 -07:00
ozwpan
panel
phison
quickstart
ramster
rtl8187se
rtl8192e
rtl8192u
rtl8712
rts_pstor
rts5139
sbe-2t3e3
sep staging: sep_crypto.c: remove duplicated include 2012-07-19 17:20:06 -07:00
serqt_usb2
slicoss
sm7xxfb
speakup
ste_rmi4
telephony
tidspbridge
usbip
vme
vt6655
vt6656
winbond
wlags49_h2
wlags49_h25
wlan-ng
xgifb
zcache
zram
zsmalloc
Kconfig
Makefile
staging.c