Re: [PATCH] doc: botching-up-ioctls: Make it clearer why structs must be padded

From: Jonathan Corbet
Date: Tue May 08 2018 - 10:53:10 EST


On Wed, 2 May 2018 09:51:06 +0200
Daniel Vetter <daniel.vetter@xxxxxxxx> wrote:

> This came up in discussions when reviewing drm patches.

Applied, thanks.

> Aside: I wonder whether we shouldn't move this to some other place and
> rst-ify it? Any good suggestions?

For the moment, probably in Documentation/process, next to
volatile-considered-harmful.rst and such. Even better, of course, would
be to have some nice document on designing user-space APIs in general...
one can always dream ... :)

Thanks,

jon