2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-23 12:43:55 +08:00
linux-next/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
..
appldata_base.c sysctl: pass kernel pointers to ->proc_handler 2020-04-27 02:07:40 -04:00
appldata_mem.c Documentation/s390: Update / remove developerWorks web links 2020-05-20 10:22:51 +02:00
appldata_net_sum.c Documentation/s390: Update / remove developerWorks web links 2020-05-20 10:22:51 +02:00
appldata_os.c s390/appldata: use struct_size() helper 2020-06-29 16:32:34 +02:00
appldata.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
Makefile s390: add a few more SPDX identifiers 2017-12-05 07:51:09 +01:00