Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp2506168imm; Mon, 24 Sep 2018 05:37:07 -0700 (PDT) X-Google-Smtp-Source: ACcGV60ofNn2FlumH9/uCMdjRMcNmaoPMAC92eHb86UB6b/AgGZde/eamlDAWDmTBCT8eLnKzWeY X-Received: by 2002:a63:574c:: with SMTP id h12-v6mr8113649pgm.423.1537792627416; Mon, 24 Sep 2018 05:37:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1537792627; cv=none; d=google.com; s=arc-20160816; b=C5VefaUaYR255xW6bC6Ma7X2gMLZ12qWFROlwH2S7tcP9gRLDF+tbANP1R148K5PVT xvXc1t5ySG3fEXuHcvPnWkUrup8h45MpJICNfMcExdMnDrgFGCql+Ury9SugIXzPyt9B xSAdOPl+j3FaVdofhsxh8eV8PIpAexxHCvzOmRsjs2NxyciQ6JX97keSPlfOdSghWCBY Jmy5PzUYzm+GKAdvciPJl5sbULfP2FM5dBSp0wIYaVBNJo9CNfmrB87zVtU48gJGNTqC kjYLRkeCnkIS8TXK+20tS2v3Um1l432nHwXUq2kIzdEONlDvYRYCSn3+EzkXabaPRPof 0tCA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from; bh=aeDbjLE+EV04hIk/WHrDfmARsEbvnJ5d9GPVQHqpfBE=; b=S248m9n6eoTxwUQdLrQt+cArNNwBUbIozJhmgosJyFFS7zgp83m1sziD5R1W91T+lE 7Ep8UWiwEJ+64AXmZ7GqTyLxjuLEGxclFM9eI/R63/WpRapjlu8M2yxYt1PCT4ML2Gjl r7jA/IZcBxJ9RCXYD9xq5w6y5PRZ/sUhtQv86nV4lIgPPwmps6jhS1bPbvOlAUICSDpt PyLo0rgpjU3Ktqd5Mc092YpspNS1Bi9li3c8U5mrnX32IBUUiuyOboCRoeZWrgCJixeK lqHzyiXXXEqxscgZIL1THI9hJeTq7am+O+qpWiQMNHAYt0/jOxKu8/vZre/gsQIEOSOG KsSA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 98-v6si6976752pla.59.2018.09.24.05.36.51; Mon, 24 Sep 2018 05:37:07 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388333AbeIXSgb (ORCPT + 99 others); Mon, 24 Sep 2018 14:36:31 -0400 Received: from mail.linuxfoundation.org ([140.211.169.12]:58442 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729816AbeIXSg3 (ORCPT ); Mon, 24 Sep 2018 14:36:29 -0400 Received: from localhost (ip-213-127-77-73.ip.prioritytelecom.net [213.127.77.73]) by mail.linuxfoundation.org (Postfix) with ESMTPSA id 4D0481018; Mon, 24 Sep 2018 12:34:33 +0000 (UTC) From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, "Bryant G. Ly" , Bradley Warrum Subject: [PATCH 4.18 111/235] misc: ibmvsm: Fix wrong assignment of return code Date: Mon, 24 Sep 2018 13:51:37 +0200 Message-Id: <20180924113116.949207599@linuxfoundation.org> X-Mailer: git-send-email 2.19.0 In-Reply-To: <20180924113103.999624566@linuxfoundation.org> References: <20180924113103.999624566@linuxfoundation.org> User-Agent: quilt/0.65 X-stable: review MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 4.18-stable review patch. If anyone has any objections, please let me know. ------------------ From: Bryant G. Ly commit c55e9318871cd06e4aa10f5023cc2dcdfbb08577 upstream. Currently the assignment is flipped and rc is always 0. Signed-off-by: Bryant G. Ly Fixes: 0eca353e7ae7 ("misc: IBM Virtual Management Channel Driver (VMC)") Reviewed-by: Bradley Warrum Cc: stable Signed-off-by: Greg Kroah-Hartman --- drivers/misc/ibmvmc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/drivers/misc/ibmvmc.c +++ b/drivers/misc/ibmvmc.c @@ -2131,7 +2131,7 @@ static int ibmvmc_init_crq_queue(struct retrc = plpar_hcall_norets(H_REG_CRQ, vdev->unit_address, queue->msg_token, PAGE_SIZE); - retrc = rc; + rc = retrc; if (rc == H_RESOURCE) rc = ibmvmc_reset_crq_queue(adapter);