staging: gpib: Removing typedefs for ioctl API
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest21 patches 3 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/21 | staging: gpib: Using struct gpib_board_type_ioctldrivers/ drivers/ | +6 | 3 replies | |
| 2/21 | staging: gpib: Using struct gpib_read_write_ioctldrivers/ drivers/ | +8 | 0 replies | |
| 3/21 | staging: gpib: Using struct gpib_open_dev_ioctldrivers/ drivers/ | +4 | 0 replies | |
| 4/21 | staging: gpib: Using struct gpib_close_dev_ioctldrivers/ drivers/ | +4 | 0 replies | |
| 5/21 | staging: gpib: Using struct gpib_serial_poll_ioctldrivers/ drivers/ | +4 | 0 replies | |
| 6/21 | staging: gpib: Using struct gpib_eos_ioctldrivers/ drivers/ | +4 | 0 replies | |
| 7/21 | staging: gpib: Using struct gpib_wait_ioctldrivers/ drivers/ | +4 | 0 replies | |
| 8/21 | staging: gpib: Using struct gpib_online_ioctldrivers/ drivers/ | +4 | 0 replies | |
| 9/21 | staging: gpib: Using struct gpib_spoll_bytes_ioctldrivers/ drivers/ | +4 | 0 replies | |
| 10/21 | staging: gpib: Using struct gpib_board_info_ioctldrivers/ drivers/ | +4 | 0 replies | |
| 11/21 | staging: gpib: Using struct gpib_select_pci_ioctldrivers/ drivers/ | +4 | 0 replies | |
| 12/21 | staging: gpib: Using struct gpib_ppoll_config_ioctl`drivers/ drivers/ | +4 | 0 replies | |
| 13/21 | staging: gpib: Using struct gpib_pad_ioctldrivers/ drivers/ | +4 | 0 replies | |
| 14/21 | staging: gpib: Using struct gpib_sad_ioctldrivers/ drivers/ | +4 | 0 replies | |
| 15/21 | staging: gpib: Using gpib_select_device_path_ioctldrivers/ drivers/ | +7 | 0 replies | |
| 16/21 | staging: gpib: Using struct gpib_request_service2drivers/ drivers/ | +5 | 0 replies | |
| 17/21 | staging: gpib: event_ioctl_t now shortdrivers/ drivers/ | +2 | 0 replies | |
| 18/21 | staging: gpib: rsc_ioctl_t now intdrivers/ drivers/ | +2 | 0 replies | |
| 19/21 | staging: gpib: t1_delay_ioctl_t now unsigned intdrivers/ drivers/ | +2 | 0 replies | |
| 20/21 | staging: gpib: autospoll_ioctl_t now shortdrivers/ drivers/ | +2 | 0 replies | |
| 21/21 | staging: gpib: local_ppoll_mode_ioctl_t now shortdrivers/ drivers/ | +4 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [Patch v1 00/21] staging: gpib: Removing typedefs for ioctl API
Moving typedefs to explicit structs as dictated by the Linux code style. Also removing typedefs for fundamental types as per Linux code style.
Reported by checkpatch.pl
* Patch 1 - Patch 16: Removes typedef for explicit structs.
In general, a pointer, or a struct that has elements that can reasonably be directly accessed should never be a typedef.
* Patch 17 - Patch 21
Removing typedefs of fundamental types
Michael Rubin (21):
staging: gpib: Using struct gpib_board_type_ioctl
staging: gpib: Using struct gpib_read_write_ioctl
staging: gpib: Using struct gpib_open_dev_ioctl
staging: gpib: Using struct gpib_close_dev_ioctl
staging: gpib: Using struct gpib_serial_poll_ioctl
staging: gpib: Using struct gpib_eos_ioctl
staging: gpib: Using struct gpib_wait_ioctl
staging: gpib: Using struct gpib_online_ioctl
staging: gpib: Using struct gpib_spoll_bytes_ioctl
staging: gpib: Using struct gpib_board_info_ioctl
staging: gpib: Using struct gpib_select_pci_ioctl
staging: gpib: Using struct gpib_ppoll_config_ioctl`
staging: gpib: Using struct gpib_pad_ioctl
staging: gpib: Using struct gpib_sad_ioctl
staging: gpib: Using gpib_select_device_path_ioctl
staging: gpib: Using struct gpib_request_service2
staging: gpib: event_ioctl_t now short
staging: gpib: rsc_ioctl_t now int
staging: gpib: t1_delay_ioctl_t now unsigned int
staging: gpib: autospoll_ioctl_t now short
staging: gpib: local_ppoll_mode_ioctl_t now short
drivers/staging/gpib/common/gpib_os.c | 58 ++++++------ drivers/staging/gpib/uapi/gpib_ioctl.h | 118 ++++++++++++------------- 2 files changed, 86 insertions(+), 90 deletions(-)
Signature · 1 line
2.43.0