From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from lists.sourceforge.net (lists.sourceforge.net [216.105.38.7]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 137D7C433F5 for ; Tue, 1 Mar 2022 18:47:10 +0000 (UTC) Received: from [127.0.0.1] (helo=sfs-ml-1.v29.lw.sourceforge.com) by sfs-ml-1.v29.lw.sourceforge.com with esmtp (Exim 4.94.2) (envelope-from ) id 1nP7Wg-0007kW-H2; Tue, 01 Mar 2022 18:47:09 +0000 Received: from [172.30.20.202] (helo=mx.sourceforge.net) by sfs-ml-1.v29.lw.sourceforge.com with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1nP7Wf-0007kQ-Ov for linux-f2fs-devel@lists.sourceforge.net; Tue, 01 Mar 2022 18:47:08 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sourceforge.net; s=x; h=In-Reply-To:Content-Type:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=fds8Vu27HO3VizdZYZX37G2L0kdPjlGJwjydpAC62lk=; b=b5xuqLsEONtLoYYwnErFqUj2Ny rBwrhTdzdmBgp01bdiw9XMSZFgla4firgZtdtsjOng34P3ZSF+7LyB4ihQiG4lTfv+XaZTqkClnX+ WhsNKLamJJAmxd/72dFOErC45p4GErqIKY8ux9mXzfWZX1S4UFPoHX0xiLfUnNvjQ0BI=; DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sf.net; s=x ; h=In-Reply-To:Content-Type:MIME-Version:References:Message-ID:Subject:Cc:To :From:Date:Sender:Reply-To:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=fds8Vu27HO3VizdZYZX37G2L0kdPjlGJwjydpAC62lk=; b=U8XSUbRyHURMooBc4mB72IE2Pn 8Q5hLneICL83c5Es8vHNgin3ckY6NikbEmDFDDZ56p31Tu0l4ET37MRr6v9+iUWhwWEl4lNlesVCw t4kHgs3ozPrWnCX21P0lcE5arBhpX51IUtKiy4qCrFuEw4DqcsiRcE7oN3RC4rpbxzXM=; Received: from mail-oo1-f53.google.com ([209.85.161.53]) by sfi-mx-2.v28.lw.sourceforge.com with esmtps (TLS1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.94.2) id 1nP7Wc-00054y-K4 for linux-f2fs-devel@lists.sourceforge.net; Tue, 01 Mar 2022 18:47:07 +0000 Received: by mail-oo1-f53.google.com with SMTP id n5-20020a4a9545000000b0031d45a442feso15859541ooi.3 for ; Tue, 01 Mar 2022 10:47:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=fds8Vu27HO3VizdZYZX37G2L0kdPjlGJwjydpAC62lk=; b=kbDptrdu0f26KgjbD0o2z38w3lkKGDPgX1iTHeFHCTnyp8GdCq5qMftyKUSBh6duUj WfNj/A6u5i3SYTvNHtilrjGbJ7XPB9BN5cThiWBPQtUhCrDH1721OqL04qTC03fUauzy 3YHA9gzqSMuaks5H7GdDPribo7C8kJL0W2A2s= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=fds8Vu27HO3VizdZYZX37G2L0kdPjlGJwjydpAC62lk=; b=r+Z+WACwKcQmDDvJ9FFS5QTa/Tfv+7SGl2ifecdeAh6Z49dT1Fj/sxtAtrSZICxAVI SzdcxTaDL/NiBKhZjbIqX+AWjfQKj6o+d9aKp5hhhhs/A3ZAEJMIe0W3JCgJ5+ZbCNTW QRlLRD5j7iwBy7xXHcq0KQCYMGxQBoDWvdSNcwRCtLFApU3Vdy1B/0vGVrpI60q1kpJu P4+88+vDzZqoQYalWAaR2x+5PV+3pwKpYxEWnR4sE4CzoFG6qbibMp/XvQ2Mvmp1n2go GhuzG/jc8fq1pU6lS8OOjNRY3yxZyCf3fg2ssi1CyI/+nf4pzDciI3PXGCVOXwaD79H8 MBIQ== X-Gm-Message-State: AOAM530c4edSAtf7DSw5KfT7otAcAHDL+hBZFt8lyY6dnFNcfO6h/L9c 523nMrCoehaKXlWOhdAs2acwmEVqsrUDEg== X-Google-Smtp-Source: ABdhPJxFvMPIFzTXAIIVPlg/eGuYakalp78L+LNg6VrEL06CzJLvdAz6UlqMRKRHGibjFN8E9JB6yg== X-Received: by 2002:a17:90b:4d86:b0:1bd:223f:6cb5 with SMTP id oj6-20020a17090b4d8600b001bd223f6cb5mr16669777pjb.151.1646158885116; Tue, 01 Mar 2022 10:21:25 -0800 (PST) Received: from www.outflux.net (smtp.outflux.net. [198.145.64.163]) by smtp.gmail.com with ESMTPSA id oa2-20020a17090b1bc200b001bcff056f09sm2678996pjb.13.2022.03.01.10.21.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 01 Mar 2022 10:21:24 -0800 (PST) Date: Tue, 1 Mar 2022 10:21:24 -0800 From: Kees Cook To: Jakob Koschel Message-ID: <202203011016.48A181EE50@keescook> References: <20220228110822.491923-1-jakobkoschel@gmail.com> <20220228110822.491923-3-jakobkoschel@gmail.com> <2e4e95d6-f6c9-a188-e1cd-b1eae465562a@amd.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: X-Headers-End: 1nP7Wc-00054y-K4 Subject: Re: [f2fs-dev] [PATCH 2/6] treewide: remove using list iterator after loop body as a ptr X-BeenThere: linux-f2fs-devel@lists.sourceforge.net X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-wireless , alsa-devel@alsa-project.org, KVM list , "Gustavo A. R. Silva" , linux-iio@vger.kernel.org, nouveau@lists.freedesktop.org, Rasmus Villemoes , dri-devel , Cristiano Giuffrida , amd-gfx list , linux1394-devel@lists.sourceforge.net, drbd-dev@lists.linbit.com, linux-arch , CIFS , linux-aspeed@lists.ozlabs.org, linux-scsi , linux-rdma , linux-staging@lists.linux.dev, "Bos, H.J." , Jason Gunthorpe , intel-wired-lan@lists.osuosl.org, kgdb-bugreport@lists.sourceforge.net, bcm-kernel-feedback-list@broadcom.com, Dan Carpenter , Linux Media Mailing List , Arnd Bergman , Linux PM , intel-gfx , linuxppc-dev , Brian Johannesmeyer , Nathan Chancellor , dma , Christophe JAILLET , v9fs-developer@lists.sourceforge.net, linux-tegra , Thomas Gleixner , Andy Shevchenko , Linux ARM , linux-sgx@vger.kernel.org, linux-block , Netdev , linux-usb@vger.kernel.org, samba-technical@lists.samba.org, Linux Kernel Mailing List , Linux F2FS Dev Mailing List , tipc-discussion@lists.sourceforge.net, Linux Crypto Mailing List , linux-fsdevel , linux-mediatek@lists.infradead.org, Andrew Morton , Linus Torvalds , Christian =?iso-8859-1?Q?K=F6nig?= , Mike Rapoport Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: linux-f2fs-devel-bounces@lists.sourceforge.net On Tue, Mar 01, 2022 at 12:28:15PM +0100, Jakob Koschel wrote: > Based on the coccinelle script there are ~480 cases that need fixing > in total. I'll now finish all of them and then split them by > submodules as Greg suggested and repost a patch set per submodule. > Sounds good? To help with this splitting, see: https://github.com/kees/kernel-tools/blob/trunk/split-on-maintainer It's not perfect, but it'll get you really close. For example, if you had a single big tree-wide patch applied to your tree: $ rm 0*.patch $ git format-patch -1 HEAD $ mv 0*.patch treewide.patch $ split-on-maintainer treewide.patch $ ls 0*.patch If you have a build log before the patch that spits out warnings, the --build-log argument can extract those warnings on a per-file basis, too (though this can be fragile). -- Kees Cook _______________________________________________ Linux-f2fs-devel mailing list Linux-f2fs-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel