From patchwork Sat Oct 6 17:20:12 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: James Bottomley X-Patchwork-Id: 10629255 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 9C0FB13BB for ; Sat, 6 Oct 2018 17:20:18 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 7C55E2914D for ; Sat, 6 Oct 2018 17:20:16 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 58A652915A; Sat, 6 Oct 2018 17:20:16 +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=-7.7 required=2.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham 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 D0AF22914D for ; Sat, 6 Oct 2018 17:20:15 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727771AbeJGAYX (ORCPT ); Sat, 6 Oct 2018 20:24:23 -0400 Received: from bedivere.hansenpartnership.com ([66.63.167.143]:53746 "EHLO bedivere.hansenpartnership.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726324AbeJGAYX (ORCPT ); Sat, 6 Oct 2018 20:24:23 -0400 Received: from localhost (localhost [127.0.0.1]) by bedivere.hansenpartnership.com (Postfix) with ESMTP id 1EF7D8EE2BB; Sat, 6 Oct 2018 10:20:14 -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 K6pWYy1Z-xf3; Sat, 6 Oct 2018 10:20:14 -0700 (PDT) Received: from [153.66.254.242] (unknown [50.35.68.20]) (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 852A08EE2AF; Sat, 6 Oct 2018 10:20:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=hansenpartnership.com; s=20151216; t=1538846413; bh=tvUNzdmAaNE7KHOfk35FVe6lSKXXgmWIiDWeikbxjes=; h=Subject:From:To:Cc:Date:From; b=HXMW+i152irvAiPDTYUmAQ79ZxLRyFFQOmn/OxKRmV45wzuSkL+rWJ0OAr7DiCEVH lmB+KDHbxhqtoobmUCWBOPFLdZzd8CrUh7MRJy49lf41ngcysD+55dW4aqYrzUhhOw wHbFkvAGPdwVbk+wKnIUNfJKlQuytuWcHcVB+bWY= Message-ID: <1538846412.4088.1.camel@HansenPartnership.com> Subject: [GIT PULL] SCSI fixes for 4.19-rc5 From: James Bottomley To: Andrew Morton , Linus Torvalds , Greg Kroah-Hartman Cc: linux-scsi , linux-kernel Date: Sat, 06 Oct 2018 10:20:12 -0700 X-Mailer: Evolution 3.22.6 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 Small fix for an unititialized mutex in the qedi driver. The patch is available here: git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi.git scsi-fixes The short changelog is: Nilesh Javali (1):       scsi: qedi: Initialize the stats mutex lock and the diffstat:  drivers/scsi/qedi/qedi_main.c | 1 +  1 file changed, 1 insertion(+) With full diff below. James diff --git a/drivers/scsi/qedi/qedi_main.c b/drivers/scsi/qedi/qedi_main.c index cc8e64dc65ad..e5bd035ebad0 100644 --- a/drivers/scsi/qedi/qedi_main.c +++ b/drivers/scsi/qedi/qedi_main.c @@ -2472,6 +2472,7 @@ static int __qedi_probe(struct pci_dev *pdev, int mode) /* start qedi context */ spin_lock_init(&qedi->hba_lock); spin_lock_init(&qedi->task_idx_lock); + mutex_init(&qedi->stats_lock); } qedi_ops->ll2->register_cb_ops(qedi->cdev, &qedi_ll2_cb_ops, qedi); qedi_ops->ll2->start(qedi->cdev, ¶ms);