Skip to content

mei: remove one-element arrays

Tomas Winkler lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 9 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6mei: hbm: use sizeof of variable instead of struct typedrivers/misc/mei/hbm.c+32 -424 replies
2/6mei: ioctl: use sizeof of variable instead of struct typedrivers/misc/mei/main.c+3 -31 reply
3/6mei: bus: use sizeof of variable instead of struct typedrivers/misc/mei/bus-fixup.c drivers/misc/mei/bus.c+12 -131 reply
4/6mei: client: use sizeof of variable instead of struct typedrivers/misc/mei/client.c+4 -41 reply
5/6mei: hw: use sizeof of variable instead of struct typedrivers/misc/mei/hw-me.c drivers/misc/mei/hw-txe.c+4 -61 reply
6/6mei: hw: don't use one element arraysdrivers/misc/mei/hw.h+4 -41 reply

Reviews trailers per patch

All 6 patches have a Reviewed-by or Acked-by.

PatchGustavo A. R. Silva
1/6R-b
2/6R-b
3/6R-b
4/6R-b
5/6R-b
6/6R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

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