Received: by 10.192.165.148 with SMTP id m20csp631198imm; Wed, 25 Apr 2018 05:25:25 -0700 (PDT) X-Google-Smtp-Source: AIpwx48JtIisJDXUmyBPXfYzOJgbri/bZiiIQdf94LRW34tqra8EviiiYfHAakYJJkLpBfoZ8KqZ X-Received: by 10.99.149.87 with SMTP id t23mr23166898pgn.77.1524659125738; Wed, 25 Apr 2018 05:25:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524659125; cv=none; d=google.com; s=arc-20160816; b=Gc/wopJOsFxI4l0YL8PEiKGsObUm7BgtOlxrTcR+KaTzoPyzkImk/SKuhc2pE19uKL mKifDODJM/IgFnO/nrwHgYADZopDNPVAY7dz1biBveQVerg+xawjvBpAwmgkqmIO24IE TLLtLRX/yU6Ih4ExbAS62BXiKj/oswo/piVscMx57/aidnzkvSPAZ1DXK4KWlJ4AsM8i NbOdcXJcf/wlg2437dheTC3Fcq5hPZ8tBEqqT/rYYrNL846tnIdOBziQ3v4waFw+UVjm nhMsIgCVlmwurqQggH4kAOzPEJx7NSIhBfPagXdtyWhQtZn2O3WgUxcoFT58Q8Cah0yU Z76A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :arc-authentication-results; bh=sIgXNQGR6e4uTeLyimaRiUX2aCxOjGQnHVDT8tLnBhI=; b=yo/lPGjV3UPEfItDMMMm0kpP6aTTh3S5PZRtZZvRGn2Y5xEhSTB/I1M6cGiceGWYGB DY4vZF64hYNmYlzZIbBPecxkOoIJsu61FdZqAickBzhaCVdBVDrlurZfOgvrgSg2vpJl Q06yM/53LpqvwK8X1VNjznFan/AoObZFPhWQ7sPjvnwxcVDBP7efub4Q5ZG77Pr3bJ5A NcZah91kL/7++RAR86MWhsooOt+VrhK+6aej3k2DmA37G+U5eQZAVSu9Qe0e8+BZCbNN 6+PNLOLO/gYT6jhBPCUjZku7WX7fQHnqCoe6qslrIPk6C2UJ0/n04HMa/fp4LihUg/pG 3tRA== 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 p91-v6si15838141plb.457.2018.04.25.05.25.11; Wed, 25 Apr 2018 05:25:25 -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 S1753962AbeDYMXk (ORCPT + 99 others); Wed, 25 Apr 2018 08:23:40 -0400 Received: from lilium.sigma-star.at ([109.75.188.150]:45704 "EHLO lilium.sigma-star.at" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751870AbeDYMXh (ORCPT ); Wed, 25 Apr 2018 08:23:37 -0400 Received: from localhost (localhost [127.0.0.1]) by lilium.sigma-star.at (Postfix) with ESMTP id 38EDD18186365; Wed, 25 Apr 2018 14:23:36 +0200 (CEST) From: Richard Weinberger To: Enrico Weigelt , "Enrico Weigelt, metux IT consult" Cc: LKML Subject: Re: [PATCH] p9caps: add Plan9 capability devices Date: Wed, 25 Apr 2018 14:23:34 +0200 Message-ID: <3634890.Egg3N7Xbv6@blindfold> In-Reply-To: <3ffb5399-46b8-7279-fda2-2ca5b40c04d3@metux.net> References: <40d4c871-a16a-7b8f-2d4a-422a5a490693@infradead.org> <3ffb5399-46b8-7279-fda2-2ca5b40c04d3@metux.net> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Am Mittwoch, 25. April 2018, 12:38:02 CEST schrieb Enrico Weigelt: > >> + list_for_each_safe(pos, q, &(caphash_writers)) { > >> + tmp = list_entry(pos, struct caphash_entry, list); > > > > list_for_each_entry. > > what's the exact difference ? Whoops, I meant list_for_each_entry_safe(). You don't list_entry() then. Thanks, //richard -- sigma star gmbh - Eduard-Bodem-Gasse 6 - 6020 Innsbruck - Austria ATU66964118 - FN 374287y