Received: by 2002:a05:6a10:9afc:0:0:0:0 with SMTP id t28csp1052770pxm; Wed, 23 Feb 2022 16:56:17 -0800 (PST) X-Google-Smtp-Source: ABdhPJyC/FQwfJ1gnMIcaJ62LptRY7bUwIQYrqTtYmgjNtxJWUkJkSlX9Hz5qwxV/JJvJZ24lyqK X-Received: by 2002:a63:f24b:0:b0:343:9666:eca9 with SMTP id d11-20020a63f24b000000b003439666eca9mr353362pgk.274.1645664177173; Wed, 23 Feb 2022 16:56:17 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1645664177; cv=none; d=google.com; s=arc-20160816; b=z8O57HKqpxqrYCRUDGw/eWfPpXhpyeRpBmlcND/siY7sF3s6TK4J2sKUrzRZdmzsfJ civqL6d4fQ34Uhq20hn6accyNow67XWIysRskMXpZovLvJLFxHStBnUEY7DqEgJ8DA9T 5UaOHDwFNCYGjw5BfnJnUSDLuZyrp6xi3fKjdZJm9Cr5W51pTQRKx35c5IZrNg10vpMs 74TR6LKYhpqmd8lF/0zkBmoSbNwpj3lX6t0TsIJBCPATqSn4Li3Ts52Fv6twMOuCPBeE RDrY9Ir2OoKu2ofxBqIKtrIbUmVILH7LDPX8yPDw7aygOwN+1rtZl+dJ7A9hscsxyM6A jsQg== 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=4TnD6jYOSsNtQKWO0JaU3gwq6Qdh6TjyUgcvqEl+K5I=; b=wyFmkJ7UyutH/AFo+nAEO2sScQ5uNKGvqxdu9aqB19u2uM2R0SyZmN6GYZh8AgFQhQ lQD3bVCXVFsnrTAA+pV7EdmNr5iX6epLS+khHYor9706l6H7WkiT695hx1zMLuirPCFu 1nB3b2UzqnqotXDw242KAivPkjKl30Pv8wv95eSh2QnCmsKOUMXcOBFDivQNkQK5o6li yGZOOQMCh+HvOM7ea/eTYEUo7sG+0+YI1bbLsxk7DnCV0nGRiSRjmOhksbt6RNG4xfJn YfKUTS40z16YsiHXXJAp+voL3Z5rmDWL3ypsED67a2aZT94EjWVR/3lniSvm8i2OycdW YEkQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=google header.b="dX/Jy7+F"; 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 g123si1074852pgc.235.2022.02.23.16.56.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 23 Feb 2022 16:56:17 -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="dX/Jy7+F"; 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 4DB8EF11A7; Wed, 23 Feb 2022 16:49:28 -0800 (PST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S243024AbiBWVyb (ORCPT + 99 others); Wed, 23 Feb 2022 16:54:31 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54242 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236891AbiBWVya (ORCPT ); Wed, 23 Feb 2022 16:54:30 -0500 Received: from mail-lf1-x134.google.com (mail-lf1-x134.google.com [IPv6:2a00:1450:4864:20::134]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A2A0950451 for ; Wed, 23 Feb 2022 13:54:01 -0800 (PST) Received: by mail-lf1-x134.google.com with SMTP id u20so656536lff.2 for ; Wed, 23 Feb 2022 13:54:01 -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=4TnD6jYOSsNtQKWO0JaU3gwq6Qdh6TjyUgcvqEl+K5I=; b=dX/Jy7+F597/hIqi/9qMzXNMQrDyhVkP3dTnhBEOAl49NjqeCD8FqayzKHmPDChTw3 FXxIkt9v5pPo2K0sD+mRbJ2ze9fZjc9QQ0YoibAdDT8COHVHj0K4UemJxZnobNcdHhFL ecGrXKp1xqB580NwK5g7hNFGZEgHao6WIIXUA= 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=4TnD6jYOSsNtQKWO0JaU3gwq6Qdh6TjyUgcvqEl+K5I=; b=FctymX292tA+gmkzdVNROhB9ubtoD/eWGmVAWbRGjF3qztPSudG+9pSBtnErJ/Qyfc RiJX7WRCUfXbGlHyeCb+Ay6TuGXfIzWCOFj4KzekENrQ6eXyMHx3PJEzMUYZm33Hdfad +Mji3rjGCnoQl8V1Ye73OEYsZaYBnZE9cxOmzGUMy+RmyMACwpehLTEldfMgZ4KDgPcH /57SxHufqpVJj+ou24OiAQv3Gbxe4noUxYPZ4JHAHaLlCCVJb0jY3UTc22HNTGpptfyL kOU+JghxjIQzggVn47AmxhSWMsEtk+uSmyP7AdtT6jqeZNOsYgqfmHjvBlgljFD1jZpu LZSg== X-Gm-Message-State: AOAM5309retIsM6oaC/wEGluvtJpJ+6luHPTuGL+72d8APTNmbS4tcNB vb/hNYeSsh7vgcN2w67Puv6VkSjHevmc+lOwH6M= X-Received: by 2002:a19:6a07:0:b0:443:ecf7:e4b4 with SMTP id u7-20020a196a07000000b00443ecf7e4b4mr1019148lfu.395.1645653239782; Wed, 23 Feb 2022 13:53:59 -0800 (PST) Received: from mail-lf1-f51.google.com (mail-lf1-f51.google.com. [209.85.167.51]) by smtp.gmail.com with ESMTPSA id a9sm57781lfl.180.2022.02.23.13.53.56 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 23 Feb 2022 13:53:56 -0800 (PST) Received: by mail-lf1-f51.google.com with SMTP id f37so602825lfv.8 for ; Wed, 23 Feb 2022 13:53:56 -0800 (PST) X-Received: by 2002:a05:6512:2033:b0:443:3d49:dac with SMTP id s19-20020a056512203300b004433d490dacmr1067001lfs.52.1645653236389; Wed, 23 Feb 2022 13:53:56 -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 13:53:39 -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." , Nathan Chancellor 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 1:46 PM Arnd Bergmann wrote: > > > Ok, so we should be able to basically convert '--std=gnu89' into > > '--std=gnu11 -Wno-shift-negative-value' with no expected change of > > behavior. > > Yes, I think that is correct. Ok, somebody please remind me, and let's just try this early in the 5.18 merge window. Because at least for me, doing - -std=gnu89 + -std=gnu11 -Wno-shift-negative-value for KBUILD_CFLAGS works fine both in my gcc and clang builds. But that's obviously just one version of each. (I left the host compiler flags alone - I have this memory of us having had issues with people having old host compilers and wanting headers for tools still build with gcc-4) Linus