From mboxrd@z Thu Jan 1 00:00:00 1970 From: Laxman Dewangan Subject: Re: [PATCH] gpio: tegra: Make lockdep class file-scoped Date: Tue, 7 Jun 2016 11:34:10 +0530 Message-ID: <575663DA.7040609@nvidia.com> References: <20160606165627.32676-1-thierry.reding@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1"; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from hqemgate15.nvidia.com ([216.228.121.64]:13521 "EHLO hqemgate15.nvidia.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751565AbcFGGRE (ORCPT ); Tue, 7 Jun 2016 02:17:04 -0400 In-Reply-To: <20160606165627.32676-1-thierry.reding@gmail.com> Sender: linux-gpio-owner@vger.kernel.org List-Id: linux-gpio@vger.kernel.org To: Thierry Reding , Linus Walleij , Alexandre Courbot Cc: Stephen Warren , linux-gpio@vger.kernel.org, linux-tegra@vger.kernel.org On Monday 06 June 2016 10:26 PM, Thierry Reding wrote: > From: Thierry Reding > > Commit b546be0db955 ("gpio: tegra: Get rid of all file scoped global > variables") moved all file scoped variables into the driver-private > structure to allow potentially multiple instances of the driver. The > change also included turning the lockdep class into a driver-private > field, which doesn't work and produces error messages such as this: > > [ 0.142310] BUG: key ffff8000fb3f7ab0 not in .data! > > Make the lockdep class file-scoped again to fix this issue. > When I tested on T210, I did not get this issue. Want to know that how did you get this issue so that I can add that part on my testing.