From: Greg Kroah-Hartman Date: Wed, 3 Feb 2016 14:23:23 -0800 Subject: [lustre-devel] [PATCH] staging: lustre: Fix 'unexpected unlock' warning generated by sparse In-Reply-To: <20160103025704.GA31228@codebox> References: <20160103025704.GA31228@codebox> Message-ID: <20160203222323.GA11753@kroah.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit 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 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 :(