Re: [PATCH 6/6] drm: Add four ioctls for managing drm mode object leases [v3]

From: Keith Packard
Date: Wed Jul 05 2017 - 23:38:46 EST


Dave Airlie <airlied@xxxxxxxxx> writes:

> I think this needs a pad ^.

> And this.

Yup. Thanks!

>> +struct drm_mode_revoke_lease {
>> + /** Unique ID of lessee
>> + */
>> + __u32 lessee_id;
>
> And this.

None of the other bare 32-bit ioctl structures are padded; I think
that's probably fine as they'll be 4 bytes on both 64-bit and 32-bit
machines.

--
-keith

Attachment: signature.asc
Description: PGP signature