Re: [PATCH v2 00/19] `zerocopy` support

Miguel Ojeda <[email protected]>
Newsgroups org.kernel.vger.linux-kbuild,org.kernel.vger.rust-for-linux
Message-ID <CANiq72=vsePio3EBdzbHA+kTHfPQyHyYmPGnkm1r8ktsCuPrqQ@mail.gmail.com>
On Tue, Jun 9, 2026 at 2:43 PM Alice Ryhl <[email protected]> wrote:
>
> > It's not clear to me if changing the uapi headers like this is even
> > allowed to begin with. It's a somewhat non-trivial change.

After our call I recalled the tool I was thinking about:

  scripts/check-uapi.sh
  Documentation/dev-tools/checkuapi.rst

It turns out it uses `abidiff` (abigail).

From a quick look, it seems to complain if I add explicit padding
where implicit padding was there before, i.e. as a "data member
insertion", even if the types etc. are the same.

However, for this change, i.e. when inside the `union`, it doesn't
seem to complain.

Cheers,
Miguel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.