diff options
author | Gustavo A. R. Silva <[email protected]> | 2020-06-17 16:29:30 -0500 |
---|---|---|
committer | Heiko Carstens <[email protected]> | 2020-06-29 16:32:34 +0200 |
commit | 28ccce5f50af2e9484d6b74b22ff9eb54bb775a2 (patch) | |
tree | 77267308fdb5f61f702dba94e4df17b543c62f62 /drivers/usb/cdns3/cdns3-debug.h | |
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 <[email protected]>
Message-Id: <20200617212930.GA11728@embeddedor>
Signed-off-by: Heiko Carstens <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-debug.h')
0 files changed, 0 insertions, 0 deletions