Received: by 2002:a05:6a10:413:0:0:0:0 with SMTP id 19csp3511185pxp; Tue, 8 Mar 2022 16:17:23 -0800 (PST) X-Google-Smtp-Source: ABdhPJxmJKzh+EFPXgNQHeJx4DcM6JLzbLe5LsFnPzEKKx5+k4SqMxjQo8TjLhhFxkKwORc8OADR X-Received: by 2002:a17:90a:7303:b0:1bf:a5e2:2c03 with SMTP id m3-20020a17090a730300b001bfa5e22c03mr1975495pjk.136.1646785042956; Tue, 08 Mar 2022 16:17:22 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1646785042; cv=none; d=google.com; s=arc-20160816; b=hTYSo8gpA4MXr4f3/pvNtXiky91KGTBkifT+/+9fNxs6UrwpqQilnB5uXMpJjZNoPc SpIcuQY0phyHc4IgsCdwiaVpm7/XyypTctGBVrAtauNmnBzI8WQ9cY3txWuqCUgD8kVF Do5aZS76+LLr01Dljusq8aSjvBJ5z35RjCFTrYmqd4k2jXHrIft0im00+f+am3vBCo4s QDR7S8gQNdVgFwtlwEotj+KZrfdpf43nE1teHZo/GY9NRFcN7o4lx+E1tjcGSV2pk2Ra a5DMl5BgquKp+sRDSoLbMxjiLkN8+LoCXwXuA3OymXiNxeHpUO2HA6lHdJ9iT2bVJxRR SWJw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=aMUI5wNHfK4o2rZYGcQ4S/vaXJq6Pohkek5MekQIM+Y=; b=cJmUsbFls60p8O4kkChw1qn56GdTOdD2/dq56tHrIkRFYetNYqLHf4273JMyJXW01W 6ClNwYPhk2CDQ2/u90UqOdywEKHlIGeQgBrqXlceXStA94Yv5CfhZrIfIBZnUqBGPF6d X+oCnRll4YzybJxZ+Pc9LvImsmC0Kra+Sqs5on+z6s/osww3INso0wPdxOccbre/ie0n mXxcbb7hsJO557EgSIEgP/jB+s9XrgXb27WdS5kxJFj5rBksbaHtVesUVX0pHvXYe/mq 1iqSAL0RCCQmTWh6lYjdwpP6t56mms1BRdZctMcCX7h2vdrp81U6ndd+Pi4koUg/zYgN Vitw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=google header.b=CzfnizVS; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id j190-20020a6380c7000000b00380b351617bsi319387pgd.745.2022.03.08.16.17.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 08 Mar 2022 16:17:22 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=google header.b=CzfnizVS; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 69E884AE20; Tue, 8 Mar 2022 15:43:25 -0800 (PST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1350394AbiCHVSo (ORCPT + 99 others); Tue, 8 Mar 2022 16:18:44 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52518 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1350391AbiCHVSn (ORCPT ); Tue, 8 Mar 2022 16:18:43 -0500 Received: from mail-lf1-x131.google.com (mail-lf1-x131.google.com [IPv6:2a00:1450:4864:20::131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 27A39764E for ; Tue, 8 Mar 2022 13:17:46 -0800 (PST) Received: by mail-lf1-x131.google.com with SMTP id z11so203411lfh.13 for ; Tue, 08 Mar 2022 13:17:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux-foundation.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=aMUI5wNHfK4o2rZYGcQ4S/vaXJq6Pohkek5MekQIM+Y=; b=CzfnizVS8xJF0XYcNlZGRC4X3t9oWbY6F50AYJw7V5IHulZd2tgVTPNS397S7hu1kT cWEbdXKwxA4eZPfzwlCDFga8/zVZabdhLbDRI0n4vQ8zL7Wpsypxof7EhRLkeSntSi56 tjjvGMwL7IJs80Bbf+IaYbCzbkp80A4enfr0Q= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=aMUI5wNHfK4o2rZYGcQ4S/vaXJq6Pohkek5MekQIM+Y=; b=l5i12wr4tNTZGEzDDWaRQJKtlZKOFeUwG+gowXQmIWDUD9WXYnH/RAm9qIlniRUn0m YyRzzSlxNHiPKlWRb62XO8tu860vfOQOOy0C/tWXg9gap5lIeMAj5JIiDQXA7zPSPg44 pt1Xdu8LpR7N6F0WxC30WX8FwULXKmtNkl7/KchhRSLKY84fBdtA2sdjtp4sPNjppnZ9 BAj8TLzFowA7r11+QyaaKhXx4Kjn4fGyvEpE3JF7jZnOqRvBAkPYjcwBp37W+00a7ogg X9wP1OekSyUv5PduAzf4qki5bIj5/23g6XDqwPthyySaiAKB1oTEWgCpNypTTyBLC6s1 5XCA== X-Gm-Message-State: AOAM532H3XxaTChdCywjFYKZr4LCLp0FQ/+gHCZJIsEnkB6iY4zvu8KK OCJlT//f+5lmZ79flJpljRAbMS8ofyBLKR3P5IA= X-Received: by 2002:a05:6512:10cd:b0:448:224f:ee55 with SMTP id k13-20020a05651210cd00b00448224fee55mr11853974lfg.87.1646774264548; Tue, 08 Mar 2022 13:17:44 -0800 (PST) Received: from mail-lj1-f171.google.com (mail-lj1-f171.google.com. [209.85.208.171]) by smtp.gmail.com with ESMTPSA id a8-20020a195f48000000b004482914411asm1976720lfj.2.2022.03.08.13.17.44 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 08 Mar 2022 13:17:44 -0800 (PST) Received: by mail-lj1-f171.google.com with SMTP id v28so365419ljv.9 for ; Tue, 08 Mar 2022 13:17:44 -0800 (PST) X-Received: by 2002:a2e:6f17:0:b0:248:124:9c08 with SMTP id k23-20020a2e6f17000000b0024801249c08mr324137ljc.506.1646774263805; Tue, 08 Mar 2022 13:17:43 -0800 (PST) MIME-Version: 1.0 References: <20220308171818.384491-1-jakobkoschel@gmail.com> In-Reply-To: <20220308171818.384491-1-jakobkoschel@gmail.com> From: Linus Torvalds Date: Tue, 8 Mar 2022 13:17:27 -0800 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v2 00/26] usb: gadget: remove usage of list iterator past the loop To: Jakob Koschel Cc: Greg Kroah-Hartman , Linux Kernel Mailing List , Felipe Balbi , Joel Stanley , Andrew Jeffery , Nicolas Ferre , Alexandre Belloni , Claudiu Beznea , Cristian Birsan , Al Cooper , Li Yang , Vladimir Zapolskiy , Daniel Mack , Haojian Zhuang , Robert Jarzmik , Krzysztof Kozlowski , Alim Akhtar , Thierry Reding , Jonathan Hunter , Michal Simek , "open list:USB GADGET/PERIPHERAL SUBSYSTEM" , Mike Rapoport , Brian Johannesmeyer , Cristiano Giuffrida , "Bos, H.J." Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Mar 8, 2022 at 9:19 AM Jakob Koschel wrote: > > This patch set removes any use of the list iterator variable past > the list body [..] This looks good to me. It also looks like now all of those cna trivially be written as that "list_traverse()" thing, but that can be done separately. Linus