From patchwork Fri Nov 3 16:42:30 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: James Bottomley X-Patchwork-Id: 10040701 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 9A684602D8 for ; Fri, 3 Nov 2017 16:42:44 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 8B7A3297BF for ; Fri, 3 Nov 2017 16:42:44 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 803D9297C4; Fri, 3 Nov 2017 16:42:44 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,T_DKIM_INVALID autolearn=unavailable version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 76903297BF for ; Fri, 3 Nov 2017 16:42:43 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756104AbdKCQme (ORCPT ); Fri, 3 Nov 2017 12:42:34 -0400 Received: from bedivere.hansenpartnership.com ([66.63.167.143]:39770 "EHLO bedivere.hansenpartnership.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751381AbdKCQmc (ORCPT ); Fri, 3 Nov 2017 12:42:32 -0400 Received: from localhost (localhost [127.0.0.1]) by bedivere.hansenpartnership.com (Postfix) with ESMTP id 8A0F08EE111; Fri, 3 Nov 2017 09:42:31 -0700 (PDT) Received: from bedivere.hansenpartnership.com ([127.0.0.1]) by localhost (bedivere.hansenpartnership.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id I8z6H7Dt_r4F; Fri, 3 Nov 2017 09:42:31 -0700 (PDT) Received: from [153.66.254.194] (unknown [50.35.65.221]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by bedivere.hansenpartnership.com (Postfix) with ESMTPSA id 2D74C8EE0DC; Fri, 3 Nov 2017 09:42:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=hansenpartnership.com; s=20151216; t=1509727351; bh=Bt9v1nXwzVmrP8GOa3kwklbca1uYUisFe6Ceo9GZDVg=; h=Subject:From:To:Cc:Date:From; b=gqyzaf4mEDwR5XHesYmngWSvIth4QSPI8ZXx2CBXq5io3YkCNgShBXDnJZXbIs/VX G64vOI04iPdkm8RWgcPPPnHtFv6U0HhV6REXA7aqKktvqWi+Yc5jvEsveUvuAksZeO WJQR7zuSYDNbGCKYReHmZNj8z/n+KIdEOGIewad8= Message-ID: <1509727350.3148.36.camel@HansenPartnership.com> Subject: [GIT PULL] SCSI fixes for 4.14-rc7 From: James Bottomley To: Andrew Morton , Linus Torvalds Cc: linux-scsi , linux-kernel Date: Fri, 03 Nov 2017 09:42:30 -0700 X-Mailer: Evolution 3.20.5 Mime-Version: 1.0 Sender: linux-scsi-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-scsi@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP One minor fix in the error leg of the qla2xxx driver (it oopses the system if we get an error trying to start the internal kernel thread).  The fix is minor because the problem isn't often encountered in the field (although it can be induced by inserting the module in a low memory environment). The patch is available here: git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi.git scsi-fixes The short changelog is: Douglas Miller (1): scsi: qla2xxx: Fix oops in qla2x00_probe_one error path And the diffstat: drivers/scsi/qla2xxx/qla_os.c | 1 + 1 file changed, 1 insertion(+) With full diff below. James diff --git a/drivers/scsi/qla2xxx/qla_os.c b/drivers/scsi/qla2xxx/qla_os.c index 3bd956d3bc5d..dce42a416876 100644 --- a/drivers/scsi/qla2xxx/qla_os.c +++ b/drivers/scsi/qla2xxx/qla_os.c @@ -3212,6 +3212,7 @@ qla2x00_probe_one(struct pci_dev *pdev, const struct pci_device_id *id) ql_log(ql_log_fatal, base_vha, 0x00ed, "Failed to start DPC thread.\n"); ret = PTR_ERR(ha->dpc_thread); + ha->dpc_thread = NULL; goto probe_failed; } ql_dbg(ql_dbg_init, base_vha, 0x00ee,