diff options
| author | Gustavo A. R. Silva <gustavoars@kernel.org> | 2020-06-17 16:29:30 -0500 |
|---|---|---|
| committer | Heiko Carstens <heiko.carstens@de.ibm.com> | 2020-06-29 16:32:34 +0200 |
| commit | 28ccce5f50af2e9484d6b74b22ff9eb54bb775a2 (patch) | |
| tree | 77267308fdb5f61f702dba94e4df17b543c62f62 /net/lapb/lapb_timer.c | |
| parent | 6ffb3f6b46d0d02c318946047dc5ce6553495848 (diff) | |
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>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions
