From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thierry Reding Subject: Re: [PATCH v2] drm: drm_memory: fix compiler warning on 32-bit targets Date: Tue, 20 Feb 2018 11:49:17 +0100 Message-ID: <20180220104917.GI23425@ulmo> References: <1519081734-16572-1-git-send-email-david@lechnology.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1307348101==" Return-path: Received: from mail-qk0-x22e.google.com (mail-qk0-x22e.google.com [IPv6:2607:f8b0:400d:c09::22e]) by gabe.freedesktop.org (Postfix) with ESMTPS id D19236E2F0 for ; Tue, 20 Feb 2018 10:49:21 +0000 (UTC) Received: by mail-qk0-x22e.google.com with SMTP id g2so15767075qkd.12 for ; Tue, 20 Feb 2018 02:49:21 -0800 (PST) In-Reply-To: <1519081734-16572-1-git-send-email-david@lechnology.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: David Lechner Cc: Alex Deucher , Monk Liu , Michel =?utf-8?Q?D=C3=A4nzer?= , Christian =?utf-8?B?S8O2bmln?= , dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============1307348101== Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="svExV93C05KqedWb" Content-Disposition: inline --svExV93C05KqedWb Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Mon, Feb 19, 2018 at 05:08:54PM -0600, David Lechner wrote: > The end field of struct resource is resource_size_t, so on 32-bit > targets, this is a 32-bit value. That's not quite correct. resource_size_t is a phys_addr_t, which can be 64-bit also on 32-bit targets (if they've got CONFIG_PHYS_ADDR_T_64BIT enabled, which is used for example with PAE). With that fixed: Reviewed-by: Thierry Reding --svExV93C05KqedWb Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEiOrDCAFJzPfAjcif3SOs138+s6EFAlqL/SsACgkQ3SOs138+ s6HoBBAAgJnWvsfYm91pO/VbZhIQD1EaXeqKgTBwN4O7O4uAbOCh2JWMXy4gzVGl 2uez3D2CvVkLlkOuqEpC3d1r5yKeaLAUoJK8cSslghEPfqlXWlRqcSijBSWDlKQ3 4ltk97aN/fTr7iBtqHesl86CLrC+GEgJyBRfdY4sKbUXK8TY1WKZtH92e2nmZoWB pKxkheelJPKVqEoy/UfhGrzciTLkXS6Bf+AiSIkmS5f5XPnuCwbE447iRotJ12Tt xD6Ap6S7H3SNohn9+/K7saDfEgKJKJcpw56NiOiCa2OSFWoG/zAwDhmSb+ad+QZd rje6BatsV9nHUy0xA1680Fdz+rE3UOUmtYQh8rloltJcnhgJTuTSOXnH49efITDV SzLnF/YqMx3R8ZJ4pj8bK57nDyxmZlPDKnB77GaWxcOm7/mplaoAuDu+7+QH6OXh TzZ1D9vAEsXAUXX5crFYDm9sGv2jUG6EeS48MjO/rZbOg1EHkyiiicaVQzCfrXmq gVaw9OkxdQUsleiqB+meJP0ygF4tk0qQQl/7iT6SFSJtmtk1G5j6gRUZe8XcVQxd GyXt7rrilVWHMbcDzICTdBunGS836V+SE6FVRTZsoxn/4bjdBLauC6ooDq/BdUCp Jjdd7dUB1vXWBY6ptudCk+attc9SGO48ZLZTynaIKAKsasfvyCk= =b6h1 -----END PGP SIGNATURE----- --svExV93C05KqedWb-- --===============1307348101== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============1307348101==--