s390/qeth: fix typo in return value
authorJulian Wiedmann <jwi@linux.ibm.com>
Mon, 17 Sep 2018 15:36:07 +0000 (17:36 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 17 Sep 2018 16:10:25 +0000 (09:10 -0700)
Assuming this was just a typo, as returning an actual negative value
from a cmd callback would make no sense either.

Signed-off-by: Julian Wiedmann <jwi@linux.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/s390/net/qeth_core_main.c

index b76e844..f09bef4 100644 (file)
@@ -3058,7 +3058,7 @@ static int qeth_query_ipassists_cb(struct qeth_card *card,
                QETH_DBF_TEXT(SETUP, 2, "ipaunsup");
                card->options.ipa4.supported_funcs |= IPA_SETADAPTERPARMS;
                card->options.ipa6.supported_funcs |= IPA_SETADAPTERPARMS;
-               return -0;
+               return 0;
        default:
                if (cmd->hdr.return_code) {
                        QETH_DBF_MESSAGE(1, "%s IPA_CMD_QIPASSIST: Unhandled "