drivers: optee: use flexible-array member instead of zero-length array
authorTian Tao <tiantao6@hisilicon.com>
Thu, 31 Dec 2020 11:58:26 +0000 (19:58 +0800)
committerJens Wiklander <jens.wiklander@linaro.org>
Tue, 2 Feb 2021 13:50:21 +0000 (14:50 +0100)
commitfda90b29e27156db1923ac1f120935991f792560
treea18810babf034ba5ce6341fd98d871b2cc7db445
parentc7020068bf2397b60bb62a1f71ca0fe626c1f7e7
drivers: optee: use flexible-array member instead of zero-length array

Use flexible-array member introduced in C99 instead of zero-length
array. Most of zero-length array was already taken care in previous
patch [1]. Now modified few more cases which were not handled earlier.

[1]. https://patchwork.kernel.org/patch/11394197/

Signed-off-by: Tian Tao <tiantao6@hisilicon.com>
Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>
drivers/tee/optee/optee_msg.h