diff options
| author | Gustavo A. R. Silva <[email protected]> | 2023-06-21 15:29:22 -0600 |
|---|---|---|
| committer | Steve French <[email protected]> | 2023-06-26 00:07:04 -0500 |
| commit | 5211cc8727ed9701b04976ab47602955e5641bda (patch) | |
| tree | 5ab3bd1e11f5badbb437f87530076748930273dd /rust/helpers/task.c | |
| parent | 7b7d709ef7cf285309157fb94c33f625dd22c5e1 (diff) | |
ksmbd: Use struct_size() helper in ksmbd_negotiate_smb_dialect()
Prefer struct_size() over open-coded versions.
Link: https://github.com/KSPP/linux/issues/160
Signed-off-by: Gustavo A. R. Silva <[email protected]>
Reviewed-by: Kees Cook <[email protected]>
Acked-by: Namjae Jeon <[email protected]>
Reviewed-by: Sergey Senozhatsky <[email protected]>
Signed-off-by: Steve French <[email protected]>
Diffstat (limited to 'rust/helpers/task.c')
0 files changed, 0 insertions, 0 deletions