diff options
| author | Christophe JAILLET <[email protected]> | 2023-05-28 16:20:24 +0000 |
|---|---|---|
| committer | Kees Cook <[email protected]> | 2023-05-30 22:49:46 +0000 |
| commit | e6302d5a285b41209ada308ced6f9562cf1c616f (patch) | |
| tree | 91a7773c80fe52634754ed986eec1e5d4c828359 /drivers/usb/core/buffer.c | |
| parent | coredump, vmcore: Set p_align to 4 for PT_NOTE (diff) | |
| download | kernel-e6302d5a285b41209ada308ced6f9562cf1c616f.tar.gz kernel-e6302d5a285b41209ada308ced6f9562cf1c616f.zip | |
binfmt: Use struct_size()
Use struct_size() instead of hand-writing it. It is less verbose, more
robust and more informative.
Signed-off-by: Christophe JAILLET <[email protected]>
Acked-by: "Eric W. Biederman" <[email protected]>
Signed-off-by: Kees Cook <[email protected]>
Link: https://lore.kernel.org/r/53150beae5dc04dac513dba391a2e4ae8696a7f3.1685290790.git.christophe.jaillet@wanadoo.fr
Diffstat (limited to 'drivers/usb/core/buffer.c')
0 files changed, 0 insertions, 0 deletions
