Received: by 2002:a05:6a10:9afc:0:0:0:0 with SMTP id t28csp1075295pxm; Wed, 23 Feb 2022 17:28:33 -0800 (PST) X-Google-Smtp-Source: ABdhPJyyzgmYb/MSPL4XV03t1hXKZu4i95FOZbW4gOdCWbWIGQECZ5gyU6+y+PqvB2N0pFEVhARc X-Received: by 2002:a17:90a:f3cf:b0:1bc:6732:3db7 with SMTP id ha15-20020a17090af3cf00b001bc67323db7mr332149pjb.199.1645666113017; Wed, 23 Feb 2022 17:28:33 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1645666113; cv=none; d=google.com; s=arc-20160816; b=hhbVditT0KUWRC3fLPMp33C619jSqJmMuJhcP7CweOX1GC6RRoxDZS/qOo05yNxIjR Qt1IYtHoFBhGnf5XQmpcgnnNID5Ohb6FwEirOn9KFrUIu3Ne86jQVSNM9Te21PUgG82b mJA5yWjeoQy49Wp6LLf8KZqcTnriW0T2kr+SuIR7mC5TwAlYZvZZLSSt+8P+y6C+7jRY quHhg2pDACx5lFNso6yTV6YdGFXX2YkwgNh7igibJRT2LWkYFAd+i1sX9MMB8THUzxlN II2JYMg1VNZObT1jzXCk6wsmKs6M1r30MuXkJhmD20VLi7Y4jWbcIEb+dlkiFl0/Nm2A sfpQ== 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=si7AL42ZuEkVrfiwamYcHieHO/8AUiwawUmyYL9iblE=; b=QqfPeyf1oViOWfCH11oT4UIFUB7l9Q4zl9COyMZSKyrjC3gznE8ionvIfxid7FF5W3 NavDg6fJHe+Zgn8OFOwNDkqpuGxrHceemmtkv+tD0eNltLRB9rDuJT3S184Q2JLMueXA 6LkfAZZLMhc+O4Lxz57TbfeIO31exQT3BAEeQr5AavXur2Z1u2GojhQsGRAoXx7BlPXZ BQVsZ9Vx/eCcd4sIhhxc3i/l0LlfGsZrGa1gj6pz5pYArA9lDMC5lAFX3tTK/TCJntT3 V0T7hA3kDVoQ6AB3KKi80oAPlTi/5hB0q2tf+gnVIvtm/CTVBBQZu0iUKx5K86e8bYhw 8b4g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=google header.b=B1SDugO2; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id x124si1129984pgb.868.2022.02.23.17.28.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 23 Feb 2022 17:28:32 -0800 (PST) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=google header.b=B1SDugO2; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 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 A7E18233E70; Wed, 23 Feb 2022 17:09:29 -0800 (PST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241940AbiBWUzh (ORCPT + 99 others); Wed, 23 Feb 2022 15:55:37 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58182 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241838AbiBWUzf (ORCPT ); Wed, 23 Feb 2022 15:55:35 -0500 Received: from mail-lj1-x234.google.com (mail-lj1-x234.google.com [IPv6:2a00:1450:4864:20::234]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D6DAC4E3B1 for ; Wed, 23 Feb 2022 12:55:06 -0800 (PST) Received: by mail-lj1-x234.google.com with SMTP id e2so23089396ljq.12 for ; Wed, 23 Feb 2022 12:55:06 -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=si7AL42ZuEkVrfiwamYcHieHO/8AUiwawUmyYL9iblE=; b=B1SDugO2vfy60lWlBgpH1fmDo//8I/Kk5ECqxfCvk6Dd78O1zwDRkUy6yEngCcSm2Y QLuJReCp7lCrHgKRQ7/EBEjJvHXtPOGHquG0zKFDYQt2fOO7fMJ2yGliuKb848Sj9VLX FUrC/AymzuR/j1+hK2zjmg53bV4WzqYFgTET0= 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=si7AL42ZuEkVrfiwamYcHieHO/8AUiwawUmyYL9iblE=; b=D+inCzN7R/m6uGkSr4KKUfF2QardeB9h9KMKvBAJEjfiJA1R+ujL04P8VYpsryW+OQ n0toBkJXUIYj/BpP5RWgPVwXFTZcHhRW8KaAMV3T8MER8VzgyVjc5zIC2KtHbYtH9uCT qpvuhPqXfvYPYzAqXCBDO/gOs8GGsWqN/23TvPsiq6rnpRfkFdP+k1Y4T4fHiyoX6eWA uV8etBdcJp6edPZh6XxIhrfifLZo91JcnF2lSYM6JMY7+mow9bn8H9uWmHSEiCLrqgLD dAgBdEdJnz5dz8S2+HKwfJrgYNMi/j0tUiqEcHKdmH6Igi8tbhlgqINFJ3DGwI/MvUqS eVmA== X-Gm-Message-State: AOAM530ymWVgg4rIHfpNwd5bnSRU4I38nJZWvd6m63tSF8N+wBKk6WMR N89mz6IvKK90QFSqn1V3xu+0oE/8aYKBMVmulN4= X-Received: by 2002:a2e:aa18:0:b0:244:bb00:db39 with SMTP id bf24-20020a2eaa18000000b00244bb00db39mr809404ljb.341.1645649704959; Wed, 23 Feb 2022 12:55:04 -0800 (PST) Received: from mail-lf1-f42.google.com (mail-lf1-f42.google.com. [209.85.167.42]) by smtp.gmail.com with ESMTPSA id m7sm90650ljb.87.2022.02.23.12.55.02 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 23 Feb 2022 12:55:02 -0800 (PST) Received: by mail-lf1-f42.google.com with SMTP id y24so437477lfg.1 for ; Wed, 23 Feb 2022 12:55:02 -0800 (PST) X-Received: by 2002:a05:6512:130b:b0:443:c2eb:399d with SMTP id x11-20020a056512130b00b00443c2eb399dmr933476lfu.27.1645649701759; Wed, 23 Feb 2022 12:55:01 -0800 (PST) MIME-Version: 1.0 References: <20220217184829.1991035-1-jakobkoschel@gmail.com> <20220217184829.1991035-4-jakobkoschel@gmail.com> <6DFD3D91-B82C-469C-8771-860C09BD8623@gmail.com> In-Reply-To: From: Linus Torvalds Date: Wed, 23 Feb 2022 12:54:45 -0800 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [RFC PATCH 03/13] usb: remove the usage of the list iterator after the loop To: Arnd Bergmann Cc: Jakob , Linux Kernel Mailing List , linux-arch , Greg Kroah-Hartman , Thomas Gleixner , Andy Shevchenko , Andrew Morton , Kees Cook , Mike Rapoport , "Gustavo A. R. Silva" , 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 Wed, Feb 23, 2022 at 12:43 PM Linus Torvalds wrote: > > Of course, the C standard being the bunch of incompetents they are, > they in the process apparently made left-shifts undefined (rather than > implementation-defined). Christ, they keep on making the same mistakes > over and over. What was the definition of insanity again? Hey, some more googling on my part seems to say that somebody saw the light, and it's likely getting fixed in newer C standard version. So it was just a mistake, not actual malice. Maybe we can hope that the tide is turning against the "undefined" crowd that used to rule the roost in the C standards bodies. Maybe the fundamental security issues with undefined behavior finally convinced people how bad it was? Linus