Received: by 2002:ac0:950e:0:0:0:0:0 with SMTP id f14csp1003054imc; Sun, 17 Mar 2019 00:51:13 -0700 (PDT) X-Google-Smtp-Source: APXvYqwvnhWyrMLnzZL3SPaRM5g9YgiO9KAzSF744oVGN5rKHZ/+h8KiJrxZc3ZpGeL9gjgQZUtW X-Received: by 2002:a17:902:8bc7:: with SMTP id r7mr13563082plo.163.1552809073896; Sun, 17 Mar 2019 00:51:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1552809073; cv=none; d=google.com; s=arc-20160816; b=kViB9nohIPrLo5QD/rjvRVXMJoNKyahvLI6ejDyA2tC+oEMQgDCY2dB/NNi7t2JZHd Rhp4K9Or1ZKaMH/3N4peRdE081QiB2AsDopcecBswMgn5igld9gmfirQ+MGbyMMBXBOd ID6c8TkS6wmboXzwdTFaKW1/A6qUa/eiVxu2O6J7zTrxKxln7nFd6Z+CE+39ZgBAAJLE wdoZSQF+IlQx5GeqHWhPq8kr+v4VVKQL3gnNUyXkWmjG1tYdu6wT5gkp27F7/n3UnDTo R/IqwfTPpx/KeHBD3YMJkONA6TdIUF7wX5SExM7EiKceZ0I+h5UxFZKhes61Ol93D8XT ENBw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=gDOiwiwlp9KhcUMPlM9DJKZIn1ynUXVMY87DRA++bjg=; b=qZageg9j47Lu5DL8CvysASLMtkrCIUD2cfFX3l770IFkOagBU0q13/aELKMECmWJxt n8z5UfkxEUDnD/O/PS8A9Qfvq7ZrL5ySvBlSG6S3KC/ae4jVNF6cDizLiblYtvnkllbl sv7K2+q5pTs7O6TPcr6Al5xhWyOihH3/UcavSIa+wy5D5bsEiX5AjByi4R8v5S3Xts6X pUkeTLLChK1wIr/hkW2VhinDUdrUUkk/uwXRI7TUk3EXDHnFslPafpZzq2tvWdXwNNpT gVvon6gExUh5F166+hVWSXyosMwP8EhR0Gh9EsxgUEj+08J+hBYxI7ZAx/S7K8rPo/gx pvCQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=hc9lTn+R; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g12si6484408pla.52.2019.03.17.00.50.58; Sun, 17 Mar 2019 00:51:13 -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; dkim=pass header.i=@gmail.com header.s=20161025 header.b=hc9lTn+R; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726664AbfCQHuY (ORCPT + 99 others); Sun, 17 Mar 2019 03:50:24 -0400 Received: from mail-lj1-f193.google.com ([209.85.208.193]:39670 "EHLO mail-lj1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726092AbfCQHuY (ORCPT ); Sun, 17 Mar 2019 03:50:24 -0400 Received: by mail-lj1-f193.google.com with SMTP id l7so1500713ljg.6; Sun, 17 Mar 2019 00:50:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=gDOiwiwlp9KhcUMPlM9DJKZIn1ynUXVMY87DRA++bjg=; b=hc9lTn+REaM0FmzDQiB7Dk4vt3ZbORcN+9o3ywi5pFtO3iQjjd9o3DvMKFxGtUSVmR mdYXWXXYXLNYYFFjKedV+BYFUsjYwsIMJapHoj7PBXjSwEX8Q5mWPXkxaIaiFeuwDS19 ik4eZePzLsL1CD/GAtSaNa4WpIaC92sZWraenKjiUkCGK6UXvk3GBBl62FKm0O1n4Bwl AT5nCDpexNYkoSfGeyx7lP4hW3WuG20e5B5lrOBavhj57gIEyZYnn9MdPciaQAY4i3AW qoSdjMdm44WQceFkfRmHC8GTT6NzZ/w4OWmkQSGTI8ECfKD9tyJr07h0v4LEu+Fhihhv q6FQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=gDOiwiwlp9KhcUMPlM9DJKZIn1ynUXVMY87DRA++bjg=; b=Bne3mREDXit2/S2wYfSMA/LCJKzqm9rydV3lTl3aFmCPYajWr63NCd7KeVWY5674x+ FsM0KxIwKp8lCdUhVNc0k1mjv6lGhWWr8eFycKLyglljA0bKEnTL27tzdYMNbaQWhONN ImyVwWBfqbU80oXlL+KxFdMT9WO0uzcvesG874TcA2zyJg4iK9c0N7imX3m6VGGd8FId ZACMidcu2NeDSfeH2Yf3KmvC3f354K/0v6Hkw291dTkoh9xNZ6Rgya1nbtXHRRcfqIoq bqRWfMyJGZn39Aq9J0BkiG2CxKXEONaBUrBHHZLgCbnP1r3vNtQSUNx5Av2S/53lb8Df YqVA== X-Gm-Message-State: APjAAAWZPAtPV6NZujOkhbxv8G2Avqi/ZxqmBYcSMSOm2y3BjB4bgKeA hjyqdXjQ7i3OXY72uY1MJ02gF5CqXAbm8SLkGhsuCmlI X-Received: by 2002:a2e:5b44:: with SMTP id p65mr7144396ljb.182.1552809022131; Sun, 17 Mar 2019 00:50:22 -0700 (PDT) MIME-Version: 1.0 References: <155253979234.5022.1840929790507376038.stgit@noble.brown> <155253992833.5022.6459847129731180970.stgit@noble.brown> In-Reply-To: <155253992833.5022.6459847129731180970.stgit@noble.brown> From: Miguel Ojeda Date: Sun, 17 Mar 2019 08:50:11 +0100 Message-ID: Subject: Re: [PATCH 3/3] rhashtable: rename rht_for_each*continue as *from. To: NeilBrown Cc: Thomas Graf , Herbert Xu , Network Development , "Paul E. McKenney" , linux-kernel Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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! Acked-by: Miguel Ojeda Cheers, Miguel