Received: by 2002:ac0:950e:0:0:0:0:0 with SMTP id f14csp1525282imc; Sun, 17 Mar 2019 17:18:07 -0700 (PDT) X-Google-Smtp-Source: APXvYqwhh7PBNJs+lTQqji/0/LiqUYMTd6FMdElhgE63B8c5zfThg/DvUqcPhHsHSQcX0XLpWWey X-Received: by 2002:a17:902:ba98:: with SMTP id k24mr8682075pls.185.1552868287361; Sun, 17 Mar 2019 17:18:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1552868287; cv=none; d=google.com; s=arc-20160816; b=GsNkEv2zgmdbn1FOimWoQpUSgTaCzJg8llmR8/m/Y+puapHf4ztURxV22ZFa8OAJ3C 3wWeIvedLbxvN7VK23rm7RkmSMhMyHdK8+Z/mgZSOmEpE41Rnrs3m9nQmJ14uKE/zaOG 1Q07Twylr+Wz6wTmMnDTngIl6H4LNmLR2DNYzW0RuVAvl7U7mTK2RWAv64WPyi4PykQp KSQPqndRUV1O4OR4vcnQwrrkHqkbgN2Sv1TKor7FgELWh2dmmi+Whz8c5kzpJsuhd0qX M54JkibWPu551gkBMNDf1Sg7yNrsIO6SEN79Ovg2CUnwm6gCwc3pV7o00pamd1RhEwRq ftAQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:references :in-reply-to:subject:cc:date:to:from; bh=x8qLFyvMo0AijejEa4K6gDfG7xN2KmVt0Mdpb+bgNlM=; b=WMC9x7ZUnKFCHIkzXVOUhj+WK8yfcIFUV7To63A/br6t7n3HCvwUB+gSXyCLSGp0aT X+MWQPpy7LH5d/HgqZnuhV3E/aCSQTg/8jazDm9ahWKeqFIR+7y2TpziXqyzfR/byILh YZzWO85lgImOGT1CPpvw9a8EvBzyw1ZjKym1N9i9HyTWps2ecpTcK0cAiSicHR/qk87V XrC+AhyFnDGt6WWFAXKchngTuBMvFASxF2SNiuZGXwag1E5nFtxXTRc24aIaGzH0tpc0 wt66NPphuc39fsqGHt29qN1KtQo6wLSAUOh77EEm59fDyi/U71aNatblrestR03fhJNv jcSg== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id c6si7489246pgd.106.2019.03.17.17.17.42; Sun, 17 Mar 2019 17:18:07 -0700 (PDT) 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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727596AbfCRAPM (ORCPT + 99 others); Sun, 17 Mar 2019 20:15:12 -0400 Received: from mx2.suse.de ([195.135.220.15]:54220 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726735AbfCRAPM (ORCPT ); Sun, 17 Mar 2019 20:15:12 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id CBFE6ACFB; Mon, 18 Mar 2019 00:15:10 +0000 (UTC) From: NeilBrown To: Miguel Ojeda Date: Mon, 18 Mar 2019 11:15:02 +1100 Cc: Thomas Graf , Herbert Xu , Network Development , "Paul E. McKenney" , linux-kernel Subject: Re: [PATCH 3/3] rhashtable: rename rht_for_each*continue as *from. In-Reply-To: References: <155253979234.5022.1840929790507376038.stgit@noble.brown> <155253992833.5022.6459847129731180970.stgit@noble.brown> Message-ID: <87mult82d5.fsf@notabene.neil.brown.name> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --=-=-= Content-Type: text/plain On Sun, Mar 17 2019, Miguel Ojeda wrote: > On Thu, Mar 14, 2019 at 6:10 AM NeilBrown wrote: >> >> The pattern set by list.h is that for_each..continue() >> iterators start at the next entry after the given one, >> while for_each..from() iterators start at the given >> entry. >> >> The rht_for_each*continue() iterators are documented as though the >> start at the 'next' entry, but actually start at the given entry, >> and they are used expecting that behaviour. >> So fix the documentation and change the names to *from for consistency >> with list.h > > Thank you for taking care of the .clang-format changes! :-) that's what "git grep" is for! > > Acked-by: Miguel Ojeda Thanks, NeilBrown > > Cheers, > Miguel --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEG8Yp69OQ2HB7X0l6Oeye3VZigbkFAlyO4wYACgkQOeye3VZi gbna7w/8CVyrkuv82s4gF4DictBH4yMYEU5QogIvIwUi5Nk9UKLMHPI8ABfzbiWW rzvTQigIIf1O4E5J1vb0LgDwuFQ8PqLseCPFdZlUWJvY4uEmcfsJJNFKVxFD4a2b cX7TXfLFGr6mnozc+mxrd1o/V2z+YTTmt1+Xy/1BQsh0imrB3neUIix9ed5SuxcM Wt9LmJAXzcUo+A8T+OaDEgp7racON2M9puvxYwqnw//rbMSu4x85u4Y/r+xd+rur jMuWCwYGtL6xxmKLkh5iGnSw8vflCFKXg8P9qb5SBhlhdH69PdBQiGu7n9fQryZP TmJAe+Q7bzUz4YtZdb9NJpG56SPa0DOZT4zgirCC2uIpZi+F1nFtd7KnBmh8cD/U pds0hhetXmAORuheITATAsNV2z9WsMPTOF80mmNIVlMeuIECipOO9+LLqaWD31+Z HH6nvR6hMhn0tKyJ3yCEDlgHAvEGmgTkkk8AIw97WeF3WNbLRSUzy4nQbdVBHH8t rVkruNUKn0KOSQ3NcdSkrb9hRmDjvRvOegfcpX0sLDN9277q9F/jjeMRvXrjAGZ3 aF3Ww0HucZQJgo0wss2XbqbFq+6dFJ2JC7NnX6zCYU485Zwpt+sC9BZMRsDwujse yzPDYGdp37M/2lCnaKeNQyBy9cF62jFepuzjq4hMXlIDP4bGy7s= =HODk -----END PGP SIGNATURE----- --=-=-=--