]> git.karo-electronics.de Git - linux-beck.git/commitdiff
staging:rts_pstor:Fix unbalanced parentheses
authorwwang <wei_wang@realsil.com.cn>
Tue, 27 Mar 2012 08:42:42 +0000 (16:42 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 10 Apr 2012 16:47:05 +0000 (09:47 -0700)
Signed-off-by: wwang <wei_wang@realsil.com.cn>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rts_pstor/ms.c

index 66341dff8c99160e54c29dcdb45dabdb9a11c3f4..e098a90e464277575f2ed3539213fee48fd5ca33 100644 (file)
@@ -4135,7 +4135,7 @@ int mg_set_ICV(struct scsi_cmnd *srb, struct rtsx_chip *chip)
 #else
        retval = ms_transfer_data(chip, MS_TM_AUTO_WRITE, PRO_WRITE_LONG_DATA,
                                2, WAIT_INT, 0, 0, buf + 4, 1024);
-       if ((retval != STATUS_SUCCESS) || check_ms_err(chip) {
+       if ((retval != STATUS_SUCCESS) || check_ms_err(chip)) {
                rtsx_clear_ms_error(chip);
                if (ms_card->mg_auth == 0) {
                        if ((buf[5] & 0xC0) != 0) {