Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp2958946ybc; Mon, 25 Nov 2019 06:54:23 -0800 (PST) X-Google-Smtp-Source: APXvYqwCFFu4ZNhjeqZdIypagXo5IwiShl5QnEQIHo80AfLZiVMG5SKOg5jCUGO7u5jNAwWeB9dP X-Received: by 2002:a17:906:1c59:: with SMTP id l25mr36994179ejg.98.1574693663397; Mon, 25 Nov 2019 06:54:23 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1574693663; cv=none; d=google.com; s=arc-20160816; b=PTTnffDCbL8pNf9HL2Hvl6B/DuV2odjXHK06WwruCnsHsz9gRIeXO6U94pKqkyBTW8 UZwiJ8rMfMBbVH7+j0FffVZJ59aKJNtd1WWT6o+LRcwZV+GSANRL4WGEnDmh7C+bvZV4 Kqa/Djb7FrviHyYIBCJSeD2Ne40KKKLub3gjhSucmdMeBhJ8CieP7YFRQzt74D8jIq/Y TJk8EG6dMBWtlx2qjvMVPtXfV/b83O4YLcjPYKH5+Zsl6HfWXarftrusQ3WBqyX8PJas c2254cdodq3o9eeJTce5kCDhgRYI7hkPcoz9ioIKnvRoySGXc2golcFsy1BgWbJOZM8a Jmfg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=r7VWVjOlZP/x5Un8wd7XMiM/HuAQr9hxc6orMTllXRM=; b=fQk/mpOSNoJRALajhrAoaAmuMza+h82z7szMEWnUqX00CRgyAg7mafcp75v++8yfRd leKCipsL/R9lSvpfqhIK2gLEzheTtOlgw2rBrs1QT/eMAsjCehN9yCKaUsvN769a0vd4 2WvC+BEw78iYSWXPGMIPzyAr/UnN7hqJtYQUFyuHg7vjn4RqYwEvVPUz8S1D9DGG0sSW DroWZiCaC7oGVCp/BkMrOrcLi1Z8akCKeK/PQJmeSeDLiJ+qzVN7U9UcmgPSOdQz88Kc uqA6r+JuUswbHmrKZJ+nEnh/lla6D8kQm1ZYtMy76eOp0zXNELIrVLtzrtPsbxos3KmF OaYA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id r17si4722602eje.139.2019.11.25.06.53.59; Mon, 25 Nov 2019 06:54:23 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728364AbfKYOvM (ORCPT + 99 others); Mon, 25 Nov 2019 09:51:12 -0500 Received: from sauhun.de ([88.99.104.3]:54970 "EHLO pokefinder.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728078AbfKYOvM (ORCPT ); Mon, 25 Nov 2019 09:51:12 -0500 Received: from localhost (x4e37056e.dyn.telefonica.de [78.55.5.110]) by pokefinder.org (Postfix) with ESMTPSA id AED5E2C0456; Mon, 25 Nov 2019 15:51:10 +0100 (CET) Date: Mon, 25 Nov 2019 15:51:10 +0100 From: Wolfram Sang To: Alain Volmat Cc: pierre-yves.mordret@st.com, alexandre.torgue@st.com, linux-i2c@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, fabrice.gasnier@st.com Subject: Re: [PATCH] i2c: i2c-stm32f7: fix 10-bits check in slave free id search loop Message-ID: <20191125145110.GB2412@kunai> References: <1573546784-28182-1-git-send-email-alain.volmat@st.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="EuxKj2iCbKjpUGkD" Content-Disposition: inline In-Reply-To: <1573546784-28182-1-git-send-email-alain.volmat@st.com> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --EuxKj2iCbKjpUGkD Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Nov 12, 2019 at 09:19:44AM +0100, Alain Volmat wrote: > Fix a typo in the free slave id search loop. Instead of I2C_CLIENT_PEC, > it should have been I2C_CLIENT_TEN. The slave id 1 can only handle 7-bit > addresses and thus is not eligible in case of 10-bit addresses. > As a matter of fact none of the slave id support I2C_CLIENT_PEC, overall > check is performed at the beginning of the stm32f7_i2c_reg_slave function. >=20 > Fixes: 60d609f30de2 ("i2c: i2c-stm32f7: Add slave support") >=20 > Signed-off-by: Alain Volmat Applied to for-next (i.e. for 5.5.), thanks! --EuxKj2iCbKjpUGkD Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEOZGx6rniZ1Gk92RdFA3kzBSgKbYFAl3b6l4ACgkQFA3kzBSg KbbUUQ//XkHOnT0T9vDE7Y8UovQXc5YR15+7wcv4op1hXnAEnmpmlaTBwWPjHtWB QQYri2zbtXiGGY9qrbe1l0fPNdDYJ3U2VpFbYZhpEMfjQoMgFaEykk5GTtkhlDnS mOrQaHcQSMAznRqMUHT5LE0AnBDyflctVv85ZNgi2Ri/FXvrzq4CIMQlE6OL3VeT Vi4cNJhPYJ2Wa0gdDBAqTiNF+mKN46aRGiIhP+ldQx2YWAwC5id1+ENaw8gQR+jk koyxGKQppQ7aHHQvHm+0amaKULeWTG8Gh1K3h2NmwrQt6NxIIJRFKT0XE9FVZvIn GKIrTea2r9FJrA+s3js5moVyT0cjBBXKOqWBAoLmm0ULe5y2WHXzz3J/uE2qQFBU TAqz8irHuZquvVyvU9YVfFI+Wkoi67oRS1URjLdiAmbOgkOpQgRQzHmHvLWfveZg k2Y9QkYfoT0fGzH7CJfBjbWrsCb19Vo7lP6JvY7+yJy7IP5J7Icrosnv5n5o4IhJ 2pobV+n1ziuZvDOAibeLBsGfXt2qjcFjkGjXeKSudsDuRSf0x0qpdH2l6zGfHKcv WdsTM2+Eu8vXrBzhC6/Xj2IrTVcDA/7aONu7QSkPOLV2fo1nEZWfL8Ecm/lvYiXT eKTKaGtlJIiLt7VIierHt7/xL3oDaseO7hFbGl5+h60aejhg1ys= =SNme -----END PGP SIGNATURE----- --EuxKj2iCbKjpUGkD--