From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S965697AbcBCWX1 (ORCPT ); Wed, 3 Feb 2016 17:23:27 -0500 Received: from mail.linuxfoundation.org ([140.211.169.12]:44621 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756578AbcBCWXY (ORCPT ); Wed, 3 Feb 2016 17:23:24 -0500 Date: Wed, 3 Feb 2016 14:23:23 -0800 From: Greg Kroah-Hartman To: Niranjan Dighe Cc: Oleg Drokin , Andreas Dilger , Mike Rapoport , Jeremiah Mahler , James Simmons , Haneen Mohammed , Mike Shuey , Arnd Bergmann , Al Viro , lustre-devel@lists.lustre.org, devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] staging: lustre: Fix 'unexpected unlock' warning generated by sparse Message-ID: <20160203222323.GA11753@kroah.com> References: <20160103025704.GA31228@codebox> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20160103025704.GA31228@codebox> User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, Jan 03, 2016 at 08:27:04AM +0530, Niranjan Dighe wrote: > Added annotation '__must_hold' to function ksocknal_send_keepalive_locked > which unlocks the lock ksocknal_data.ksnd_global_lock. As this lock is > not acquired in the current function, sparse warns about context imbalance > > Signed-off-by: Niranjan Dighe > --- > drivers/staging/lustre/lnet/klnds/socklnd/socklnd_cb.c | 1 + > 1 file changed, 1 insertion(+) Doesn't apply to my tree :(