From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from sg-1-12.ptr.blmpb.com (sg-1-12.ptr.blmpb.com [118.26.132.12]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 46AC3E555 for ; Thu, 25 Dec 2025 07:47:07 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=118.26.132.12 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1766648831; cv=none; b=uctqUKZDBIOa+w8wUDLGQR5uSv0tDviKyyLNeLhw93iYCaQopyeJg2rEQ8Iy0cjQjMnFVcMbgApjamOpKgkLrY3TjxSWjw0aluhczBubiAR2S3gZr+3TkBvRKWMuXJcwXQkXceQtLJFQbkFJ3RjMmG5zK/FDG+dfNxRz3Q6U4Sw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1766648831; c=relaxed/simple; bh=LKhB733K/kAUJNaXIQ6jIQ7/mQBN2TZGxE1j06rN4HU=; h=Cc:From:In-Reply-To:Message-Id:References:Subject:Date: Mime-Version:To:Content-Type; b=eJOtdjzNXn0pORwHkeHKzyRRfcdYSmnJavHTsHtJxBA5Nf5rPKBuGrbewKQKUF9k2GGtdMyfcEhiMZPoTryzXZxsQzz5/dZ+6jXx5XFrlhYX6x7E8mbY68jHESqblmwqp8Xp88ww4B6QZEMQy9c1B0AUTP+DUJ3Q72Bd8Et4BFA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=fnnas.com; spf=none smtp.mailfrom=fnnas.com; dkim=pass (2048-bit key) header.d=fnnas-com.20200927.dkim.feishu.cn header.i=@fnnas-com.20200927.dkim.feishu.cn header.b=2CIK71Sp; arc=none smtp.client-ip=118.26.132.12 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=fnnas.com Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=fnnas.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=fnnas-com.20200927.dkim.feishu.cn header.i=@fnnas-com.20200927.dkim.feishu.cn header.b="2CIK71Sp" DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; s=s1; d=fnnas-com.20200927.dkim.feishu.cn; t=1766648822; h=from:subject:mime-version:from:date:message-id:subject:to:cc: reply-to:content-type:mime-version:in-reply-to:message-id; bh=ku6kjQEzarKWtZWqxuoCPuEWT/o6jwhQidpELL9hJFg=; b=2CIK71SpiHx0XFU5Z9GmYki0xNap7MvJJ+vnc3Uz4NOh1MhTvyHHIvlgw4KIJXdAB8gBeq Hd6Rxb6IbVUyqBm3icY2nU0Xr3y84CwcD0VqXrmrebpE8H6FTRLDuvWxr+9UfJbzPws7uM j6nlJO6uhzVqpWehsaLvocFW7RySIhD8XHenKSAXqoYiE80oUwXAxF08cCfzRJ6WyG4zgp ZJlMS1wib9FzwFNthxUW0fFUEqJ6hqRs7dfdRfz0pjmXdiQPVF5FsOhaUYkQk90o/2G3jx etEyx66ycdfNPT6opiX5U2xEw4PG5WJwMmIP348ulmnifbv8+UDwSCr4EqI8uA== Cc: , , , , From: "Yu Kuai" X-Lms-Return-Path: User-Agent: Mozilla Thunderbird In-Reply-To: <20251215124412.4015572-1-linan666@huaweicloud.com> Message-Id: References: <20251215124412.4015572-1-linan666@huaweicloud.com> X-Original-From: Yu Kuai Subject: Re: [PATCH] md: Fix static checker warning in analyze_sbs Date: Thu, 25 Dec 2025 15:46:58 +0800 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 Content-Language: en-US Reply-To: yukuai@fnnas.com To: , , Received: from [192.168.1.104] ([39.182.0.136]) by smtp.feishu.cn with ESMTPS; Thu, 25 Dec 2025 15:46:59 +0800 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=UTF-8 =E5=9C=A8 2025/12/15 20:44, linan666@huaweicloud.com =E5=86=99=E9=81=93: > From: Li Nan > > The following warn is reported: > > drivers/md/md.c:3912 analyze_sbs() > warn: iterator 'i' not incremented > > Fixes: d8730f0cf4ef ("md: Remove deprecated CONFIG_MD_MULTIPATH") > Reported-by: Dan Carpenter > Closes:https://lore.kernel.org/linux-raid/7e2e95ce-3740-09d8-a561-af6bfb7= 67f18@huaweicloud.com/T/#t > Signed-off-by: Li Nan > --- > drivers/md/md.c | 5 +---- > 1 file changed, 1 insertion(+), 4 deletions(-) Applied to md-6.19 --=20 Thansk, Kuai