[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20200723145927.882743-1-tomas.winkler@intel.com>
Date: Thu, 23 Jul 2020 17:59:21 +0300
From: Tomas Winkler <tomas.winkler@...el.com>
To: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
Cc: Alexander Usyskin <alexander.usyskin@...el.com>,
linux-kernel@...r.kernel.org,
Tomas Winkler <tomas.winkler@...el.com>,
"Gustavo A. R. Silva" <gustavoars@...nel.org>,
Arnd Bergmann <arnd@...db.de>
Subject: [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(-)
--
2.25.4
Powered by blists - more mailing lists