Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp3856469ybv; Sun, 16 Feb 2020 07:24:39 -0800 (PST) X-Google-Smtp-Source: APXvYqz4g5jj9Z9VdCG3BWkJ4ND0AK30I/9uxyWAr9CY5jstn19Z8ZrBrKHUwHeUsxqlwz8G/koJ X-Received: by 2002:a9d:66c1:: with SMTP id t1mr8330545otm.73.1581866679227; Sun, 16 Feb 2020 07:24:39 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1581866679; cv=none; d=google.com; s=arc-20160816; b=CMHaULPJ1JH5OWXWIDSXN1j+SrVpX4Y7HjvGHt/RJdhSxc3Z4/bliTedMkq+uE+ZsX YksqaQjNHjvdAJIQwkKsQIO/NnX8kFJCqV7ukg3QEM79b6PK3qMWM9Ul9ikTLvpuKWAX zYBXo8PnQD3G7w03NjzB+WQSTP4obYkMXH0imz2GugJbljE6ZOOtgAGZsqmkXwYAD5Lz Wn/j/KD3wSQ9LvSWRV+nvJpYx9vbqQZAjnBvezHTXDIu5T8xWuA+9k+cKNHKmYdxFAJ5 r0DGs7/X6QXU6NODkzj1P6KZM74UCOSPRSwQu/KwKxO0luOzLj40ZNWY1FCcsTgOsqXq nA3w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=cpdOcA58injpURGtSPsNzFe0grHOYuzlAQi9FRcp3jo=; b=l2glo6HEcm1omRCkST+HFfE0vD0izTNsfH2HCRU0/GkOp7CrCXz0sUU71opyAry6qK eONweEJ1uZZqnJXzbUmLGev7JP2KOjJfwLMxrssWM1vxyrE1Oe6Biq1rNVdzYa2qY62/ peYAffgZj5/a+cZv9RvVBqknx9I3Y97n7WzictJP1lvLN133wcttRHyP4PCkEAkBpVF2 AGCPFtIHGrzXhoQNMuIk0Udehmrk5MyQA16cb6cd3YrBRkglIGhrHlOEXUhVhcd+WP6Y u28Trk4k7Gu65O20ELAIIXd6mNg50+2u6HnYfWc9NPEXuhrnAcNgeMPpaH57z2fweAO9 Rh4Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@narfation.org header.s=20121 header.b=HW6kDIwY; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=narfation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id r22si5614912otn.192.2020.02.16.07.24.27; Sun, 16 Feb 2020 07:24:39 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@narfation.org header.s=20121 header.b=HW6kDIwY; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=narfation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728358AbgBPPW7 (ORCPT + 99 others); Sun, 16 Feb 2020 10:22:59 -0500 Received: from dvalin.narfation.org ([213.160.73.56]:58292 "EHLO dvalin.narfation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726171AbgBPPW6 (ORCPT ); Sun, 16 Feb 2020 10:22:58 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=narfation.org; s=20121; t=1581866575; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=cpdOcA58injpURGtSPsNzFe0grHOYuzlAQi9FRcp3jo=; b=HW6kDIwYOmPotOs48kEhWYO6IC8mZ4g7oYDcPbeZ5p5A78FImbNhEKtyOqVoKz4Fz+zSaj F4i1vN0uJyypV2ECTLzN7RO4t2SSlFVaib0Ksp6iNROmpNDeGMOlRjbRKWfuSVck4cU0xg aTlFELlnV5CmO2IQlr1kvQ83MYofsQ8= From: Sven Eckelmann To: madhuparnabhowmik10@gmail.com Cc: mareklindner@neomailbox.ch, sw@simonwunderlich.de, a@unstable.cc, davem@davemloft.net, b.a.t.m.a.n@lists.open-mesh.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, joel@joelfernandes.org, frextrite@gmail.com, linux-kernel-mentees@lists.linuxfoundation.org Subject: Re: [PATCH] net: batman-adv: Use built-in RCU list checking Date: Sun, 16 Feb 2020 16:22:51 +0100 Message-ID: <3655191.udZcvKk8tv@sven-edge> In-Reply-To: <20200216144718.2841-1-madhuparnabhowmik10@gmail.com> References: <20200216144718.2841-1-madhuparnabhowmik10@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart4752270.j9do8LSKhE"; micalg="pgp-sha512"; protocol="application/pgp-signature" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --nextPart4752270.j9do8LSKhE Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" On Sunday, 16 February 2020 15:47:18 CET madhuparnabhowmik10@gmail.com wrote: > From: Madhuparna Bhowmik > > hlist_for_each_entry_rcu() has built-in RCU and lock checking. > > Pass cond argument to hlist_for_each_entry_rcu() to silence > false lockdep warnings when CONFIG_PROVE_RCU_LIST is enabled > by default. > > Signed-off-by: Madhuparna Bhowmik > --- > net/batman-adv/translation-table.c | 12 ++++++++---- > 1 file changed, 8 insertions(+), 4 deletions(-) Added with alignment and line length codingstyle fixes [1]. Can you tell us how you've identified these four hlist_for_each_entry_rcu? Thanks, Sven [1] https://git.open-mesh.org/linux-merge.git/commit/967709ec53a07d1bccbc3716f7e979d3103bd7c5 --nextPart4752270.j9do8LSKhE Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part. Content-Transfer-Encoding: 7Bit -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEF10rh2Elc9zjMuACXYcKB8Eme0YFAl5JXksACgkQXYcKB8Em e0ZGNBAAxAZydcMX765z0LHHxzM2VVRThEsnS17DaDQDU7oTIinL6xe83lBPbQuh zQDyZUlFlz5UDRbHnq2w/UMmq/haEXfp47se+S4GOsg7M4R38P8XC97XC1BlTOGu oXyJjOp2d3G3awn6GD4G1P8AVCkVc8gVp6pDFNFy7OVfJwXvYbMaCtH8xXhS2pcK c3oO+roFvXtBMCb44e8lc0xHRrBUiTBBIKoLcJSbPUmDRSOg70Rojk5AmiMIZ7Ts UbNC1faFYh2HJlc+b/b7jDx69eopdxRMQOxZeypmDtu3HnJTQEK/5b/gB00Ajs4e RDJyOimN1ri/2DI5hMWpJyYts/uutSDHDwRwXytVsoUS3vMVE17LWTn/mTBu5m2n qodGmZbrbLKM2aMYU9b5aCtJlAoZ5osEd3UbL0zDE0TZG+x8orzffsQagMaihcez Ybny70xUDlZgGBzTCuCGNhBN7CkREdHiBUNg+Ff02xx5uQTvpN9Pxgo4g+bXXlPs rDspCwY+EC+KWURxdnVPO4x5tSRmzq4gKvL0dMBeiz06m+u1zK+DCQ0lodV76bY1 ILPm/EwMGiMdO8h5IlwJh5w7T+Kgl+PnT8vwRLXFjfgpYf24D3ihw/1uDLGk7t4Q W1mipeOUSdpfDYNF8mTqJ48vhSlJf0zICr9iY0p+hmwAnPcCEfA= =2x+h -----END PGP SIGNATURE----- --nextPart4752270.j9do8LSKhE--