From: Julian Wiedmann Date: Mon, 17 Sep 2018 15:36:07 +0000 (+0200) Subject: s390/qeth: fix typo in return value X-Git-Tag: microblaze-v5.0-rc1~24^2~353^2~2 X-Git-Url: http://git.monstr.eu/?a=commitdiff_plain;h=31c92732cdf22fc5ac6807be34fddec1ca9b30ac;p=linux-2.6-microblaze.git s390/qeth: fix typo in return value 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 Signed-off-by: David S. Miller --- diff --git a/drivers/s390/net/qeth_core_main.c b/drivers/s390/net/qeth_core_main.c index b76e844811e1..f09bef4a49ca 100644 --- a/drivers/s390/net/qeth_core_main.c +++ b/drivers/s390/net/qeth_core_main.c @@ -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 "