Messages in this thread | | | From | Tomas Winkler <> | Subject | [char-misc-next 0/6] mei: remove one-element arrays | Date | Thu, 23 Jul 2020 17:59:21 +0300 |
| |
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(-)
-- 2.25.4
| |