Skip to content

staging: gpib: Removing typedefs

Michael Rubin linux-staging lkml 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest7 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7staging: gpib: Removing typedef gpib_event_queuedrivers/staging/gpib/common/gpib_os.c drivers/staging/gpib/include/gpibP.h drivers/staging/gpib/include/gpib_types.h+11 -110 replies
2/7staging: gpib: Removing gpib_interface_list_tdrivers/staging/gpib/common/gpib_os.c drivers/staging/gpib/include/gpib_types.h+7 -70 replies
3/7staging: gpib: Removing gpib_event_t typedefdrivers/staging/gpib/common/gpib_os.c drivers/staging/gpib/include/gpib_types.h+6 -60 replies
4/7staging: gpib: Removing typedef gpib_status_queuedrivers/staging/gpib/common/gpib_os.c drivers/staging/gpib/common/iblib.c drivers/staging/gpib/common/ibsys.h +2 more+32 -290 replies
5/7staging: gpib: Removing typedef of status_bytedrivers/staging/gpib/common/gpib_os.c drivers/staging/gpib/include/gpib_types.h+6 -60 replies
6/7staging: gpib: Removing typedef gpib_descriptor_tdrivers/staging/gpib/common/gpib_os.c drivers/staging/gpib/common/iblib.c drivers/staging/gpib/include/gpib_proto.h +1 more+22 -220 replies
7/7staging: gpib: Remove typedef gpib_file_private_tdrivers/staging/gpib/common/gpib_os.c drivers/staging/gpib/include/gpib_types.h+33 -320 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH v1 0/7] staging: gpib: Removing typedefs

Removing various typedefs to adhere to Linux code style.

Reported by checkpatch.pl

In general, a pointer, or a struct that has elements that can reasonably be directly accessed should never be a typedef.

* Patch 1: Removing gpib_event_queue_t for struct gpib_event_queue

* Patch 2: Removing gpib_interface_list_t for struct gpib_interface_list

* Patch 3: Removing gpib_event_t for struct gpib_event

* Patch 4: Removing gpib_status_queue_t for struct gpib_status_queue

* Patch 5: Removing status_byte_t for struct gpib_status_bye

* Patch 6: Removing gpib_descriptor_t for struct gpib_descriptor

* Patch 7: Removing gpib_file_private_t for struct gpib_file_private

Michael Rubin (7):
staging: gpib: Removing typedef gpib_event_queue
staging: gpib: Removing gpib_interface_list_t
staging: gpib: Removing gpib_event_t typedef
staging: gpib: Removing typedef gpib_status_queue
staging: gpib: Removing typedef of status_byte
staging: gpib: Removing typedef gpib_descriptor_t
staging: gpib: Remove typedef gpib_file_private_t

 drivers/staging/gpib/common/gpib_os.c     | 155 +++++++++++-----------
 drivers/staging/gpib/common/iblib.c       |  12 +-
 drivers/staging/gpib/common/ibsys.h       |  11 +-
 drivers/staging/gpib/include/gpibP.h      |   4 +-
 drivers/staging/gpib/include/gpib_proto.h |   8 +-
 drivers/staging/gpib/include/gpib_types.h |  38 +++---
 6 files changed, 116 insertions(+), 112 deletions(-)
Signature · 1 line
2.43.0