From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id D28E3C61DA4 for ; Thu, 16 Feb 2023 20:48:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:Content-Type: List-Subscribe:List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id: In-Reply-To:MIME-Version:References:Message-ID:Subject:Cc:To:From:Date: Reply-To:Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date :Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=OdhneBo/24/VCRNF+8BvMhXnc/Br9df6NbsNMqybHPU=; b=BVb+P295h+bBCZkrV/UpSMO/hn qmeJGoipBuVO7UGIPGCGLTEaTd4xEFHz3v38qp7vevrIO6laLKZJ82mO8iyv0vqWaXXs85fWmK9Ay JU6R6mAx3vA5HF9j9Z7BvnghkHqmfIRwPVAGDhMmztv/zqpFh+rSMwC1hB5DXStnaRgoM6i4rpzbZ SW2S+Gxi2YuKX3/6nYAxFosyPXTcma9ORfVHIEMbdAW/IFcqo+BIu33BOH/8ADned0IsD+SeWms/y R+mWHVy4CLLF+6Ur2FZoUlVcx7yuGPItfjZFqSoP/3mXP040NZ3VDXTDL8e9GU+gfbZa2G7T8o5PQ +AjSI0vA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1pSlAM-00BqCK-FO; Thu, 16 Feb 2023 20:47:42 +0000 Received: from dfw.source.kernel.org ([2604:1380:4641:c500::1]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1pSlAJ-00BqBL-1U for linux-arm-kernel@lists.infradead.org; Thu, 16 Feb 2023 20:47:40 +0000 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 2FC4560C1A; Thu, 16 Feb 2023 20:47:37 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 3712AC4339C; Thu, 16 Feb 2023 20:47:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1676580456; bh=6W/6iiHZ9ir42tfHL5ZR/MR1S4WaGMdD48ch33nju7Q=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=L6VP4HV1WFTpbXIkTA89LF6h179TBgYL6L0jLw7n6TUDHIAcdX7TCFyMP22d5qOQJ ebLuv67lI+EOjhVHcMjDr7rQJiVDohWwm3i13Ib5AzOdHUPdQPcoOYeAZ1aDK0Q0U1 eYO6K5eM7fXuvU4vj28QASWzvMIVFE00Gz5cvRkMVGKlzFwlluUka/lFswkAA7zKq/ 6rIucJJY7nmB0eUsUmigVjpieOAvKGMysXulFlRW2a98sMwJYW3SzrUSj4sTGkj6ji jP2pwVUEZlsR4lYQCLVbafaT2zBvmmx3KMxrAiJ8gFfl06OT+VTVua0cV5pDoftjut szAUbBzbzEdsw== Date: Thu, 16 Feb 2023 21:47:33 +0100 From: Wolfram Sang To: "Hawkins, Nick" Cc: "Verdun, Jean-Marie" , "robh+dt@kernel.org" , "krzysztof.kozlowski+dt@linaro.org" , "linux@armlinux.org.uk" , "linux-i2c@vger.kernel.org" , "devicetree@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" , "joel@jms.id.au" Subject: Re: [PATCH v4 1/5] i2c: hpe: Add GXP SoC I2C Controller Message-ID: Mail-Followup-To: Wolfram Sang , "Hawkins, Nick" , "Verdun, Jean-Marie" , "robh+dt@kernel.org" , "krzysztof.kozlowski+dt@linaro.org" , "linux@armlinux.org.uk" , "linux-i2c@vger.kernel.org" , "devicetree@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" , "joel@jms.id.au" References: <20230125184438.28483-1-nick.hawkins@hpe.com> <20230125184438.28483-2-nick.hawkins@hpe.com> <63020BDF-DD97-4828-B464-8DFF94A2B794@hpe.com> MIME-Version: 1.0 In-Reply-To: <63020BDF-DD97-4828-B464-8DFF94A2B794@hpe.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230216_124739_203860_FD06EA96 X-CRM114-Status: GOOD ( 12.52 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: multipart/mixed; boundary="===============5505464995716809402==" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org --===============5505464995716809402== Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="GeBlnw14vpOmWStm" Content-Disposition: inline --GeBlnw14vpOmWStm Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi Nick, > I will work on the defines and get rid of all the magic values. Cool, thank you! > Unfortunately, there is no public spec available currently. > Hopefully, we will have one someday though. Then, the #defines are even more helpful! > > drivers/i2c/busses/i2c-gxp.c: In function =E2=80=98gxp_i2c_probe=E2=80= =99: > > drivers/i2c/busses/i2c-gxp.c:533:28: error: cast from pointer to intege= r of different size [-Werror=3Dpointer-to-int-cast] > > 533 | drvdata->engine =3D ((u32)drvdata->base & 0xf00) >> 8; >=20 > I am currently unable to reproduce this error. I even set W=3D2. Interesting. I have this version: gcc (Debian 10.2.1-6) 10.2.1 20210110 > Would replacing (u32) with (unsigned long) resolve it? Or size_t. Happy hacking, Wolfram --GeBlnw14vpOmWStm Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEOZGx6rniZ1Gk92RdFA3kzBSgKbYFAmPulmEACgkQFA3kzBSg KbY/Aw//au5PykMFEda7/Z6aVZcSe0rOFYt86Qt/PZNxuPhuaWPJV9EnwKDrqWWl R+lHP8A+b4g0DMyxt4+F83I8b/gyToJJf5zLNLvY7pBFegL+pC9yqKqqlt+O9V5+ CQ24DbNAWIzHEgC0fPd+Q5Fh2rBxbPeZUzj4HlXlBsXu1nJ+SgaLwCWPpz8hWQU/ UL3FdFcm7DNWB1BmDb1/J8+fIprQeSi+RDkK8t0cz1H6hBgsQ8IdrTwj10djN7tY gNvn8EHcmnm4jQrgY/SecHJGYyUGG4d+P0U1HWKFNThfK/O5ezQ0FFvvNzJDTYT1 DPVXVVc7hNXV6rTjKqiNIAdzXdNlXtGiHrgUMtoxiKgMx7sHCQtn7QEopywz5BuR FvTm1gEv9XdUTd9TCAG9Egkn5i9OOVmTrkzrmdxdhESWIxf9kYeCc/eoQnxo5PTW Rx6dX+oDqJ9wwvFFB0IA7TQm/UOYr8UidVYThJx9LEMX56NmavVLzlbbe53F+iaw R95DyHsCOOgQBPfZ+5V4U890wVuercQ7315GrQ3HUai42wInLT1YLKa8JQh0nbQF mPyam6OWBfkGGt03Q3Ihwn4rFggQ9Vf5nTS7TzJtL7r3xXqk0Bv1jVC1JYqP8LjT TZrCYOOsv1MF8P/IAITUvFY8QOrs/yw7o/AAK9jSMYUw5MTjkoQ= =M/Ip -----END PGP SIGNATURE----- --GeBlnw14vpOmWStm-- --===============5505464995716809402== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel --===============5505464995716809402==--