staging: gpib: Clean up types and struct initialization
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest4 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | staging: gpib: Use __iomem attribute for io addressesdrivers/ drivers/ drivers/ +3 more | +16 | 0 replies | |
| 2/4 | staging: gpib: Use __user for user space pointersdrivers/ drivers/ | +54 | 0 replies | |
| 3/4 | staging: gpib: Avoid plain integers as NULL pointersdrivers/ drivers/ drivers/ +4 more | +12 | 0 replies | |
| 4/4 | staging: gpib: Use C99 syntax and make staticdrivers/ drivers/ drivers/ +1 more | +39 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/4] staging: gpib: Clean up types and struct initialization
These patches address a series of sparse warnings.
Patch 1: Add missing __iomem attribute to io address space pointers
Patch 2: Add missing __user attribute for user address space pointers
and buffers.
Patch 3: Avoid using plain integers in pointer comparison and
initialization.
Patch 4: Modernize the remaining old style struct initialization
and declare local arrays and structs static
Dave Penkler (4):
staging: gpib: Use __iomem attribute for PCI memory pointers
staging: gpib: Use __user for user space pointers
staging: gpib: Avoid plain integers as NULL pointers
staging: gpib: Use C99 syntax and make static
.../gpib/agilent_82350b/agilent_82350b.c | 10 +- .../gpib/agilent_82350b/agilent_82350b.h | 10 +- .../gpib/agilent_82357a/agilent_82357a.c | 2 +- drivers/staging/gpib/cb7210/cb7210.c | 6 +- drivers/staging/gpib/common/gpib_os.c | 119 +++++++++--------- drivers/staging/gpib/common/iblib.c | 2 +- drivers/staging/gpib/eastwood/fluke_gpib.h | 2 +- drivers/staging/gpib/fmh_gpib/fmh_gpib.h | 2 +- drivers/staging/gpib/gpio/gpib_bitbang.c | 8 +- drivers/staging/gpib/ines/ines_gpib.c | 66 +++++----- .../gpib/lpvo_usb_gpib/lpvo_usb_gpib.c | 4 +- drivers/staging/gpib/pc2/pc2_gpib.c | 2 +- drivers/staging/gpib/tnt4882/tnt4882_gpib.c | 8 +- 13 files changed, 121 insertions(+), 120 deletions(-)
Signature · 1 line
2.47.1