Received: by 2002:a05:7208:9594:b0:7e:5202:c8b4 with SMTP id gs20csp1168036rbb; Mon, 26 Feb 2024 00:19:59 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCVYTd0FV4VxMC488D8fbsYP+/lnwUm557VSFNtfge6boE9pi/vUeYz0vQdVul9ZFPLid59LtmX3RmagzmHWBnjxnsiN8hmxcRSx9BvHCQ== X-Google-Smtp-Source: AGHT+IH6nhNA66O97j6tfIfKxlFqMidA9VRS5ItqoTF0Iucxd14i2tdpKgojvFVBBwjBI3RI7ny7 X-Received: by 2002:a67:ba0f:0:b0:471:e034:6a0f with SMTP id l15-20020a67ba0f000000b00471e0346a0fmr2123259vsn.7.1708935598644; Mon, 26 Feb 2024 00:19:58 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708935598; cv=pass; d=google.com; s=arc-20160816; b=tNesKRSBlH7kzAoOodGPn5vRMiix548SqQ0tyF3E/DZ8+32tmxkQ6QobBR4X8Y3HN8 tsZQuTDljDSJevJWn7ayzliAFyQdKO5xyor7L18qvUOpnfuCcSlYHtjACnCEsDZOWx+M 2XKatLI/MltXQXQzIku2huac8v95733DVNGzvl538irXlge5wjl9gopQcjfQSJEI1Lpf GA8ibotzLXKaaAcJ7t+sOfZb+808dFvUBrsG4HtgSd+CSQsRDfXF56x8vQnp/32lCEwD D7d8k1WAtJHfN49Jv40IFEEJTR+I4Dh6wDmrBw+iHbwaixn5pS7gg9nXMkuL9oSAsag7 Br+A== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:organization:references :in-reply-to:message-id:subject:cc:to:from:date:dkim-signature; bh=lIvDXxGeo51SInc9MmWiuWKt5CaioIotY1PibSab+q4=; fh=caqdkt2zkyDYLJ4/V3lot1w74M34K2g0Afuy8krHntI=; b=BZ2O2pKFHKCi+Z34LorU/3rtwLNt5D0E01avpuVAPXAFC5amwW3BgfbcmCd0InWERb i+fhENl50mH8YBm9PHjD5j9a5D/YOn8bW2y0Njdw9eZHpN4vRuLcbheQJBcUq7Ivv30j TGceVmwoG8r+jEx3Kbjl4Omt2rzqeyTMuZ4WKMby/HH9Mu7mnPunxZysEH/dNRhW/8Dv 0WHE4ZaNIX3i1MtZoki4wlI2sVs1vhtdFzsbYj7SmbZrCJD7bhs5VCDGybUFti7jyhSl D6+DfUZoBj7Lhsou7EhgBFoVu+c7rdJNHmCck/33XhYfRcFjqMh+Ge4vabfz2o8HckDA qOlw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=edDb6HqW; arc=pass (i=1 spf=pass spfdomain=bootlin.com dkim=pass dkdomain=bootlin.com dmarc=pass fromdomain=bootlin.com); spf=pass (google.com: domain of linux-kernel+bounces-80744-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-80744-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id b22-20020ac844d6000000b0042dc85eeda8si4489176qto.121.2024.02.26.00.19.58 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 26 Feb 2024 00:19:58 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-80744-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=edDb6HqW; arc=pass (i=1 spf=pass spfdomain=bootlin.com dkim=pass dkdomain=bootlin.com dmarc=pass fromdomain=bootlin.com); spf=pass (google.com: domain of linux-kernel+bounces-80744-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-80744-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 475501C22BF9 for ; Mon, 26 Feb 2024 08:19:58 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 55FA81CAAE; Mon, 26 Feb 2024 08:19:45 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b="edDb6HqW" Received: from relay8-d.mail.gandi.net (relay8-d.mail.gandi.net [217.70.183.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 6EBD71C6A3; Mon, 26 Feb 2024 08:19:41 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=217.70.183.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708935584; cv=none; b=OkylQflu1ibdtctJnNHDQY048TCHJyV79pNYtfIJvMEhor4DBHBso4F1VRy/esZss+7fuKLVil0ywChuyt9M9OPCDOo0NUhVjrfOBbc3Hp8HBJCFBoEBxnbiSeHZOOHdZeza2mX4hykw1rojABFWmgyZBoXCviz0xURSjlmWkiI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708935584; c=relaxed/simple; bh=ll48MJwAP66eEE4I1mxVSojHViPUkd6NS79nXsjLCi0=; h=Date:From:To:Cc:Subject:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=PQg4QAsY3d3/z4k8t7473NiOQA9rIk7LwJ+C2ILla7DFrVgsF02aBAhZ2vKgKTNIx2nV215reTUBM41QTAQwaKXanthEY/QIat0m+Z74fuc0RjxlUz9wDiCfCgEGvbrd9NhNp14VIkEMMK3tvbJ0ylfJEKNn9jDPnjZUX/Rx9kM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com; spf=pass smtp.mailfrom=bootlin.com; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b=edDb6HqW; arc=none smtp.client-ip=217.70.183.201 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=bootlin.com Received: by mail.gandi.net (Postfix) with ESMTPSA id B1B221BF20A; Mon, 26 Feb 2024 08:19:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1708935574; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=lIvDXxGeo51SInc9MmWiuWKt5CaioIotY1PibSab+q4=; b=edDb6HqW+23DlG3IR4K7W1sKpq7+g2Mi4GEa9/PHxn471OHUsIfql/37IOwKqYQcmckmJy 9CwLpZOVAx2+K3ATxpKSmns9PRxwjW47tdx62GkQyUtY1RmvvV8CJM3hLD5aB/SJGmpR0a Lo15g3MVTuAlsHCu3BFQ6JkUyQVFNuW0lHXRduc7xf2XlXGKlhZotXgMdWGxSxI/DtyjNR 71G/IqLSe7UvOs0TzfIT75FzfbrY7xhOBHErauIzB/WTMdkZTzAmul0GHjPGZsEHvRsUPS H1gqEWyFtoWQSZH03MPQsVIK0/FYoluH8M/9stD9HzPiV9QeoKNwYTf/ZTIAbw== Date: Mon, 26 Feb 2024 09:19:32 +0100 From: Luca Ceresoli To: Saravana Kannan Cc: Rob Herring , Frank Rowand , "=?UTF-8?Q?Herv=C3=A9?= Codina" , kernel-team@android.com, Rob Herring , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] of: property: fw_devlink: Fix stupid bug in remote-endpoint parsing Message-ID: <20240226091932.3f39e2c5@booty> In-Reply-To: <20240224052436.3552333-1-saravanak@google.com> References: <20240224052436.3552333-1-saravanak@google.com> Organization: Bootlin X-Mailer: Claws Mail 4.0.0 (GTK+ 3.24.33; x86_64-pc-linux-gnu) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-GND-Sasl: luca.ceresoli@bootlin.com On Fri, 23 Feb 2024 21:24:35 -0800 Saravana Kannan wrote: > Introduced a stupid bug in commit 782bfd03c3ae ("of: property: Improve > finding the supplier of a remote-endpoint property") due to a last minute > incorrect edit of "index !=0" into "!index". This patch fixes it to be > "index > 0" to match the comment right next to it. > > Reported-by: Luca Ceresoli > Link: https://lore.kernel.org/lkml/20240223171849.10f9901d@booty/ > Fixes: 782bfd03c3ae ("of: property: Improve finding the supplier of a remote-endpoint property") > Signed-off-by: Saravana Kannan Reviewed-by: Luca Ceresoli Tested-by: Luca Ceresoli -- Luca Ceresoli, Bootlin Embedded Linux and Kernel engineering https://bootlin.com