]> www.infradead.org Git - users/jedix/linux-maple.git/commit
scsi: qedi: fix missing return error code check on call to qedi_setup_int
authorColin Ian King <colin.king@canonical.com>
Fri, 3 Mar 2017 11:11:11 +0000 (16:41 +0530)
committerChuck Anderson <chuck.anderson@oracle.com>
Sun, 9 Jul 2017 00:43:46 +0000 (17:43 -0700)
commit1a66b80b59ec469193baebb14a67b508ff09689a
tree596c0f37d9ee3fe0a32666f957bf9042c42afa82
parentd7531f8194acb80baea48364d765443657dfaf25
scsi: qedi: fix missing return error code check on call to qedi_setup_int

Orabug: 26403604

The call to qedi_setup_int is not updating the return code rc yet rc
is being checked for an error. Fix this by assigning rc to the return
code from the call to qedi_setup_int.

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Brian Maly <brian.maly@oracle.com>
drivers/scsi/qedi/qedi_main.c