staging: rts_pstor: Fix invalid check
authorAlan Cox <alan@linux.intel.com>
Tue, 4 Sep 2012 14:23:46 +0000 (15:23 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 4 Sep 2012 19:26:46 +0000 (12:26 -0700)
commit0ff15d54161cc0e57fed79de1b5731c81225d668
tree76fdcf18c8d2de66698ff7e118787ca11ed3a34f
parent1e0fdfc2080015abf10a940de9a78a2748205f89
staging: rts_pstor: Fix invalid check

As noted by David Binderman

Resolves-bug: https://bugzilla.kernel.org/show_bug.cgi?id=46581
Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rts_pstor/rtsx_scsi.c