]> Gentwo Git Trees - linux/.git/commit
staging: gpib: Add bit and byte padding to ioctl structs
authorDave Penkler <dpenkler@gmail.com>
Tue, 3 Jun 2025 18:43:20 +0000 (20:43 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 19 Jun 2025 15:32:32 +0000 (17:32 +0200)
commitb8394732ff0cc81551b0e3b442994622ebf389a7
tree8699537f2060c239760bc257beefc2e619d55ff6
parenteaad2a4263c986c0adc2f81ab6e6199391ecc435
staging: gpib: Add bit and byte padding to ioctl structs

Ensure that all structs have a size that is an integral mutliple
of 32 bits.

Change trailing single bit field to __u32 in gpib_open_dev_ioctl
Add byte padding to  gpib_serial_poll_ioctl and gpib_request_service2
Add bit padding to gpib_board_info_ioctl and gpib_ppoll_config_ioctl

Signed-off-by: Dave Penkler <dpenkler@gmail.com>
Link: https://lore.kernel.org/r/20250603184320.30594-5-dpenkler@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/gpib/uapi/gpib_ioctl.h