From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Martin K. Petersen" Subject: Re: [PATCH 2/4] scsi: pmcraid: fix lock imbalance in pmcraid_reset_reload() Date: Mon, 24 Apr 2017 18:02:42 -0400 Message-ID: References: <20170420175549.3435196-1-arnd@arndb.de> <20170420175549.3435196-2-arnd@arndb.de> <20170423083635.GB30869@infradead.org> Mime-Version: 1.0 Content-Type: text/plain Return-path: In-Reply-To: <20170423083635.GB30869@infradead.org> (Christoph Hellwig's message of "Sun, 23 Apr 2017 01:36:35 -0700") Sender: stable-owner@vger.kernel.org To: Christoph Hellwig Cc: Arnd Bergmann , "James E.J. Bottomley" , "Martin K. Petersen" , stable@vger.kernel.org, Johannes Berg , Quentin Lambert , linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org List-Id: linux-scsi@vger.kernel.org Christoph, > sparse found a bug that has always been present since the driver was > merged: > > drivers/scsi/pmcraid.c:2353:12: warning: context imbalance in 'pmcraid_reset_reload' - different lock contexts for basic block > > Fix this by using a common unlock goto label, and also reduce the > indentation level in the function. Applied to 4.12/scsi-queue. -- Martin K. Petersen Oracle Linux Engineering