Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1682029

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

From Keith Packard <keithp@keithp.com>
Newsgroups linux.kernel
Subject Re: [PATCH 6/6] drm: Add four ioctls for managing drm mode object leases [v3]
Date 2017-07-06 05:40 +0200
Message-ID <u05O1-76T-3@gated-at.bofh.it> (permalink)
References <u00Y1-3WC-5@gated-at.bofh.it> <u00Y2-3WC-19@gated-at.bofh.it> <u039v-5kK-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

Dave Airlie <airlied@gmail.com> 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

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH 6/6] drm: Add four ioctls for managing drm mode object leases [v3] Keith Packard <keithp@keithp.com> - 2017-07-06 00:30 +0200
  Re: [PATCH 6/6] drm: Add four ioctls for managing drm mode object  leases [v3] Dave Airlie <airlied@gmail.com> - 2017-07-06 02:50 +0200
    Re: [PATCH 6/6] drm: Add four ioctls for managing drm mode object leases [v3] Keith Packard <keithp@keithp.com> - 2017-07-06 05:40 +0200

csiph-web