Received: by 2002:a05:6a10:2726:0:0:0:0 with SMTP id ib38csp546911pxb; Tue, 5 Apr 2022 13:36:10 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxsoOLZ7EPLLI7nkSpUhrahNJGAiHlS5JPNKgP1YiuqHGZclf8cP68OyxK8XWds66BKzPsV X-Received: by 2002:a17:903:2cf:b0:151:a932:f1f0 with SMTP id s15-20020a17090302cf00b00151a932f1f0mr5311346plk.130.1649190970399; Tue, 05 Apr 2022 13:36:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1649190970; cv=none; d=google.com; s=arc-20160816; b=AJ3Xo74Q1W+2KaHMZYGrBJv6oncv5Wh9VM+XozPZRFwU6kuKv6QvvQCH4iyT0SdR9n xHOaYepE3mxRTYt6Cu7m0VzIa7UcANuybWPHhdtTM2hxcolqcbHL9PkYTcZlGoJJcjtl iZteAdSf94p964Y4WV979ANn4bPCOsiYbP67uwLub0XuQ3+XCQI6FcDMzHKwDwyNqgOq kf10Zk6vLgnEdb9oCZJUtxMt+u0Ac0aJmB0SchM38uPA51juINlY2+K6diXjRXDj42ph XlkJryXve6MPbeFjCWn1m2ZqDN/2gAssN9po/Waw9cJ7CuD6YkF4MRtqHCQsMlGw6KrY Fi4A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version:date :message-id:subject:references:in-reply-to:cc:to:from:dkim-signature; bh=xlPHHrh0J3WbTtHkF3FnoVvM0gRW/DJNN1GDz3df+38=; b=CBVUH79ffrbN3vT2a1aYoQyJGwi+ET6JoYIWWcyiS2lhyWLU+2WnZx/IVwiPU9k1un zFdkatXWKN3qqnEUP+eZG4gpCWQLAhcTAwesasOip2wQ9Z89ZlcZjWUNMaw1Lj2aR1it JbCQdcbPblfkusonYW5Pu+V6p9m/8ViRD+NWuEXWe72VH4xnWlgv3lMHB70CoqR7pSnX eH9G/Gk9F4DxcfjdgQWIFTMMovBzU/lY2/K//bJtM6zsO9xiB90b0AMvRt4WZBkCqlm7 HM5hhwIdlfASJgQQ5okLnY4Qm9TAkUIa4L2sh0gj7jIxkLzzFKhCCQ6/S7Ucegr9f4Df b3hA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Motvbsnz; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id a13-20020a170902b58d00b001568951652dsi9405665pls.180.2022.04.05.13.36.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 05 Apr 2022 13:36:10 -0700 (PDT) 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=@kernel.org header.s=k20201202 header.b=Motvbsnz; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 1810335252; Tue, 5 Apr 2022 13:29:21 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1389640AbiDEPVk (ORCPT + 99 others); Tue, 5 Apr 2022 11:21:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36324 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1347114AbiDEJqB (ORCPT ); Tue, 5 Apr 2022 05:46:01 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BA42276678; Tue, 5 Apr 2022 02:32:27 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 55F5261368; Tue, 5 Apr 2022 09:32:27 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 5E035C385A4; Tue, 5 Apr 2022 09:32:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1649151146; bh=Pj7W+vm9/Lp1bs2VNWguTcW8ZdW7M9VQ5AaH3adc3cU=; h=From:To:Cc:In-Reply-To:References:Subject:Date:From; b=MotvbsnzwbhrK0F96wxCU4WtMKr5Li9cva2QeU7vbqBzNNCZ74ZEqfcnHRnklX1Ks 1RjW7+s842jpmtTRWjJW7bbm0ZXczhjVSm/DV2GkO1JORw8SAk+pfMQEgqbybE7sMp VFmS4vjQPxZctOd88jnYFpJ963+3sSdGp8zz7wYfjLFiLXqFwhOg0Tw+Wodx68CMJU 9JfurBnTcvQjSznoeN/pFk/cumt3gWH8e9B//XHfMtDQbWlg7Ulg5zQUTjDvlA/MZ1 IWKfY366iShazYN8iw506M9lADcVXGe9JAY9SYciqAfM4YG3llW9m0zWxoKogUUZ5a AytJp4LOMbHLg== From: Mark Brown To: jakobkoschel@gmail.com Cc: linux-kernel@vger.kernel.org, bjohannesmeyer@gmail.com, rppt@kernel.org, c.giuffrida@vu.nl, h.j.bos@vu.nl, linux-spi@vger.kernel.org In-Reply-To: <20220324072534.63420-1-jakobkoschel@gmail.com> References: <20220324072534.63420-1-jakobkoschel@gmail.com> Subject: Re: [PATCH] spi: spidev: replace usage of found with dedicated list iterator variable Message-Id: <164915114510.276894.6837144397974645999.b4-ty@kernel.org> Date: Tue, 05 Apr 2022 10:32:25 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.3 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=unavailable 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 Thu, 24 Mar 2022 08:25:34 +0100, Jakob Koschel wrote: > To move the list iterator variable into the list_for_each_entry_*() > macro in the future it should be avoided to use the list iterator > variable after the loop body. > > To *never* use the list iterator variable after the loop it was > concluded to use a separate iterator variable instead of a > found boolean [1]. > > [...] Applied to https://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git for-next Thanks! [1/1] spi: spidev: replace usage of found with dedicated list iterator variable commit: d50d7e91c6e5ccd71f21ba1aec3fef7ee4229fd6 All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus during the next merge window (or sooner if it is a bug fix), however if problems are discovered then the patch may be dropped or reverted. You may get further e-mails resulting from automated or manual testing and review of the tree, please engage with people reporting problems and send followup patches addressing any issues that are reported if needed. If any updates are required or you are submitting further changes they should be sent as incremental updates against current git, existing patches will not be replaced. Please add any relevant lists and maintainers to the CCs when replying to this mail. Thanks, Mark