From mboxrd@z Thu Jan 1 00:00:00 1970 From: Xiaomeng Tong Date: Thu, 3 Mar 2022 16:38:31 +0800 Subject: [PATCH 2/6] treewide: remove using list iterator after loop body as a ptr In-Reply-To: <20220303083007.11640-1-xiam0nd.tong@gmail.com> References: <20220303083007.11640-1-xiam0nd.tong@gmail.com> Message-ID: <20220303083831.11833-1-xiam0nd.tong@gmail.com> List-Id: To: linux-aspeed@lists.ozlabs.org MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit correct for typo: -for (struct list_head *list = head->next, cond = (struct list_head *)-1; cond == (struct list_head *)-1; cond = NULL) \ +for (struct list_head *list = head->next, *cond = (struct list_head *)-1; cond == (struct list_head *)-1; cond = NULL) \ -- Xiaomeng Tong