[PATCH 0/4] staging: gpib: Clean up uapi include files

From: Dave Penkler
Date: Tue Jun 03 2025 - 14:44:03 EST


This patch set addresses a number of issues identified in the
uapi include files.

Patch 1 - Remove enums and functions that are not needed to be
exported to user space.

Patch 2 - Add removed enums and functions dealing with GPIB
command bytes needed only by the kernel drivers in
a new local include file gpib_cmd.h

Patch 3 - Convert generic types to fixed size types in the
gpib_ioctl.h include file.

Patch 4 - Pad bit and byte holes in the ioctl structs.

Dave Penkler (4):
staging: gpib: Remove unneeded enums and functions
staging: gpib: Add local include file for commands
staging: gpib: Use standard size basic uapi types
staging: gpib: Add bit and byte padding to ioctl structs

drivers/staging/gpib/include/gpibP.h | 1 +
drivers/staging/gpib/include/gpib_cmd.h | 112 ++++++++++++++
drivers/staging/gpib/uapi/gpib.h | 198 ------------------------
drivers/staging/gpib/uapi/gpib_ioctl.h | 112 +++++++-------
4 files changed, 171 insertions(+), 252 deletions(-)
create mode 100644 drivers/staging/gpib/include/gpib_cmd.h

--
2.49.0