From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752367AbdB1OgW (ORCPT ); Tue, 28 Feb 2017 09:36:22 -0500 Received: from lelnx194.ext.ti.com ([198.47.27.80]:58460 "EHLO lelnx194.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751677AbdB1OgS (ORCPT ); Tue, 28 Feb 2017 09:36:18 -0500 Subject: Re: [PATCH] uapi: fix drm/omap_drm.h userspace compilation errors To: "Dmitry V. Levin" References: <20170225132950.GA21564@altlinux.org> CC: David Airlie , Laurent Pinchart , , From: Tomi Valkeinen Message-ID: <2617b09f-4d96-ca8b-ebcb-1f4a3f71dc6f@ti.com> Date: Tue, 28 Feb 2017 14:40:47 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.7.0 MIME-Version: 1.0 In-Reply-To: <20170225132950.GA21564@altlinux.org> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="LjrE0X533k0kM1aOldoKwVcTcro4UuVTS" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --LjrE0X533k0kM1aOldoKwVcTcro4UuVTS Content-Type: multipart/mixed; boundary="x5OgpjXo38v3N7J1kO2UL3OsR5Ql6p2xX"; protected-headers="v1" From: Tomi Valkeinen To: "Dmitry V. Levin" Cc: David Airlie , Laurent Pinchart , dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org Message-ID: <2617b09f-4d96-ca8b-ebcb-1f4a3f71dc6f@ti.com> Subject: Re: [PATCH] uapi: fix drm/omap_drm.h userspace compilation errors References: <20170225132950.GA21564@altlinux.org> In-Reply-To: <20170225132950.GA21564@altlinux.org> --x5OgpjXo38v3N7J1kO2UL3OsR5Ql6p2xX Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hi, On 25/02/17 15:29, Dmitry V. Levin wrote: > Consistently use types from linux/types.h like in other uapi drm/*_drm.= h > header files to fix the following drm/omap_drm.h userspace compilation > errors: >=20 > /usr/include/drm/omap_drm.h:36:2: error: unknown type name 'uint64_t' > uint64_t param; /* in */ > /usr/include/drm/omap_drm.h:37:2: error: unknown type name 'uint64_t' > uint64_t value; /* in (set_param), out (get_param) */ > /usr/include/drm/omap_drm.h:56:2: error: unknown type name 'uint32_t' > uint32_t bytes; /* (for non-tiled formats) */ > /usr/include/drm/omap_drm.h:58:3: error: unknown type name 'uint16_t' > uint16_t width; > /usr/include/drm/omap_drm.h:59:3: error: unknown type name 'uint16_t' > uint16_t height; > /usr/include/drm/omap_drm.h:65:2: error: unknown type name 'uint32_t' > uint32_t flags; /* in */ > /usr/include/drm/omap_drm.h:66:2: error: unknown type name 'uint32_t' > uint32_t handle; /* out */ > /usr/include/drm/omap_drm.h:67:2: error: unknown type name 'uint32_t' > uint32_t __pad; > /usr/include/drm/omap_drm.h:77:2: error: unknown type name 'uint32_t' > uint32_t handle; /* buffer handle (in) */ > /usr/include/drm/omap_drm.h:78:2: error: unknown type name 'uint32_t' > uint32_t op; /* mask of omap_gem_op (in) */ > /usr/include/drm/omap_drm.h:82:2: error: unknown type name 'uint32_t' > uint32_t handle; /* buffer handle (in) */ > /usr/include/drm/omap_drm.h:83:2: error: unknown type name 'uint32_t' > uint32_t op; /* mask of omap_gem_op (in) */ > /usr/include/drm/omap_drm.h:88:2: error: unknown type name 'uint32_t' > uint32_t nregions; > /usr/include/drm/omap_drm.h:89:2: error: unknown type name 'uint32_t' > uint32_t __pad; > /usr/include/drm/omap_drm.h:93:2: error: unknown type name 'uint32_t' > uint32_t handle; /* buffer handle (in) */ > /usr/include/drm/omap_drm.h:94:2: error: unknown type name 'uint32_t' > uint32_t pad; > /usr/include/drm/omap_drm.h:95:2: error: unknown type name 'uint64_t' > uint64_t offset; /* mmap offset (out) */ > /usr/include/drm/omap_drm.h:102:2: error: unknown type name 'uint32_t' > uint32_t size; /* virtual size for mmap'ing (out) */ > /usr/include/drm/omap_drm.h:103:2: error: unknown type name 'uint32_t' > uint32_t __pad; >=20 > Fixes: ef6503e89194 ("drm: Kbuild: add omap_drm.h to the installed head= ers") > Signed-off-by: Dmitry V. Levin > --- > include/uapi/drm/omap_drm.h | 38 +++++++++++++++++++------------------= - > 1 file changed, 19 insertions(+), 19 deletions(-) Thanks! I'll queue to fixes. Tomi --x5OgpjXo38v3N7J1kO2UL3OsR5Ql6p2xX-- --LjrE0X533k0kM1aOldoKwVcTcro4UuVTS Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJYtW/PAAoJEPo9qoy8lh71uoEP/1Gl6EP2JMRlVzqTRxMXPufz NkolnQepQTbODzsSEu0s8JRFfqeK1IoGfBpeAlripyB75SgW3qK2S2HGFxCQRbKQ EcbdW02BapXcGHImtSW8NrF2sPdEibM7egdnmV26LU26y5fxzevf+eAHztPa0xeh PyZnfz6ANgXkmRc+gxQS9RPG6UGmVnOA5LoWXV+je8ioXUwDqrVhgiI+s9wCwPRW QrfJxoRqHdilzdqKaRtbHcPGW2x1owhHIqU4C7VQJtgIpNbLKA5WZmX2nq7KEyiC K1AD6ZQVkB/GOcxFl095qCf+hbUT6VVX0BuTNroc055R3cWJKIWjxmb4hLVFVjQB 9FnVjIB21cRhd1CS8DSZnUbrpWLXW44tQgZNMa5ebarowf31IUA/yPaenF0plMNX krZWJXfEUIOcR8vEBsNK8cvUG1g79nYRMjgc/hcTEQvWoJnAE/2vR6OqKO65ruFu CFrC18zRyN72pMWkQv7b7nIl1cZEdLTd+MiORxr5K0eBUR7zH7sLqLfns7w/dsDw mxQJC9+cLuhwB41GP5LKjGf1lh0HhrzAwUsGIefb/F6hee9BtAECDvK+eTOd4K5E xmf7/VHck7AMImnV1yVS+hCHaykf8u32Nrw9oKk3/+JuHpQsj72+bbxaoZ6Mv/eJ 2Ityzdtqwf+kyQ4zGEDF =Kstz -----END PGP SIGNATURE----- --LjrE0X533k0kM1aOldoKwVcTcro4UuVTS--