mei: remove one-element arrays
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest6 patches 9 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/6 | mei: hbm: use sizeof of variable instead of struct typedrivers/ | +32 | 4 replies | |
| 2/6 | mei: ioctl: use sizeof of variable instead of struct typedrivers/ | +3 | 1 reply | |
| 3/6 | mei: bus: use sizeof of variable instead of struct typedrivers/ drivers/ | +12 | 1 reply | |
| 4/6 | mei: client: use sizeof of variable instead of struct typedrivers/ | +4 | 1 reply | |
| 5/6 | mei: hw: use sizeof of variable instead of struct typedrivers/ drivers/ | +4 | 1 reply | |
| 6/6 | mei: hw: don't use one element arraysdrivers/ | +4 | 1 reply |
Reviews trailers per patch
All 6 patches have a Reviewed-by or Acked-by.
| Patch | Gustavo A. R. Silva |
|---|---|
| 1/6 | R-b |
| 2/6 | R-b |
| 3/6 | R-b |
| 4/6 | R-b |
| 5/6 | R-b |
| 6/6 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [char-misc-next 0/6] mei: remove one-element arrays
1. Remove one-element arrays from hw.h
2. Adjust to preferred method of getting size of structure from memory allocation and movement. sizeof(*var) instead of sizeof(struct some_struct)
Tomas Winkler (6):
mei: hbm: use sizeof of variable instead of struct type
mei: ioctl: use sizeof of variable instead of struct type
mei: bus: use sizeof of variable instead of struct type
mei: client: use sizeof of variable instead of struct type
mei: hw: use sizeof of variable instead of struct type
mei: hw: don't use one element arrays
drivers/misc/mei/bus-fixup.c | 23 ++++++----- drivers/misc/mei/bus.c | 2 +- drivers/misc/mei/client.c | 8 ++-- drivers/misc/mei/hbm.c | 74 ++++++++++++++++-------------------- drivers/misc/mei/hw-me.c | 5 +-- drivers/misc/mei/hw-txe.c | 5 +-- drivers/misc/mei/hw.h | 8 ++-- drivers/misc/mei/main.c | 6 +-- 8 files changed, 59 insertions(+), 72 deletions(-)
Signature · 1 line
2.25.4