From patchwork Mon Jul 30 15:20:30 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Shlomo Pongratz X-Patchwork-Id: 1255041 Return-Path: X-Original-To: patchwork-linux-rdma@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork1.kernel.org (Postfix) with ESMTP id 23FDB40D62 for ; Mon, 30 Jul 2012 15:21:02 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754592Ab2G3PUr (ORCPT ); Mon, 30 Jul 2012 11:20:47 -0400 Received: from eu1sys200aog116.obsmtp.com ([207.126.144.141]:37299 "HELO eu1sys200aog116.obsmtp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1754713Ab2G3PUr (ORCPT ); Mon, 30 Jul 2012 11:20:47 -0400 Received: from mtlsws123.lab.mtl.com ([82.166.227.17]) (using TLSv1) by eu1sys200aob116.postini.com ([207.126.147.11]) with SMTP ID DSNKUBamR5CAIp4TISrcFGO87ZAgQBLJdDxG@postini.com; Mon, 30 Jul 2012 15:20:46 UTC Received: from r-vnc04.lab.mtl.com (r-vnc04.lab.mtl.com [10.208.0.116]) by mtlsws123.lab.mtl.com (8.13.8/8.13.8) with ESMTP id q6UFKVP9015879; Mon, 30 Jul 2012 18:20:31 +0300 From: Shlomo Pongratz To: linux-rdma@vger.kernel.org Cc: ogerlitz@mellanox.com, kernel-janitors@vger.kernel.org, wfg@linux.intel.com, roland@kernel.org, Shlomo Pongratz Subject: [for-next PATCH] IB/IPoIB: typo error Date: Mon, 30 Jul 2012 18:20:30 +0300 Message-Id: <1343661630-1350-1-git-send-email-shlomop@mellanox.com> X-Mailer: git-send-email 1.7.8.2 Sender: linux-rdma-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-rdma@vger.kernel.org was is_held should be lockdep_is_held Reporetd by: Roland Dreier Signed-off-by: Shlomo Pongratz --- drivers/infiniband/ulp/ipoib/ipoib_main.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/infiniband/ulp/ipoib/ipoib_main.c b/drivers/infiniband/ulp/ipoib/ipoib_main.c index 61318a7..f1ff2f4 100644 --- a/drivers/infiniband/ulp/ipoib/ipoib_main.c +++ b/drivers/infiniband/ulp/ipoib/ipoib_main.c @@ -882,7 +882,7 @@ static void __ipoib_reap_neigh(struct ipoib_dev_priv *priv) struct ipoib_neigh __rcu **np = &htbl->buckets[i]; while ((neigh = rcu_dereference_protected(*np, - is_held(&ntbl->rwlock))) != NULL) { + lockdep_is_held(&ntbl->rwlock))) != NULL) { /* was the neigh idle for two GC periods */ if (time_after(neigh_obsolete, neigh->alive)) { rcu_assign_pointer(*np,