acrn-kernel/arch/s390/appldata
Gustavo A. R. Silva 28ccce5f50 s390/appldata: use struct_size() helper
Make use of the struct_size() helper instead of an open-coded version
in order to avoid any potential type mistakes.

This code was detected with the help of Coccinelle and, audited and
fixed manually.

Signed-off-by: Gustavo A. R. Silva <gustavoars@kernel.org>
Message-Id: <20200617212930.GA11728@embeddedor>
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
2020-06-29 16:32:34 +02:00
..
Makefile
appldata.h
appldata_base.c
appldata_mem.c
appldata_net_sum.c
appldata_os.c s390/appldata: use struct_size() helper 2020-06-29 16:32:34 +02:00