aboutsummaryrefslogtreecommitdiff
path: root/scripts/bpf_doc.py
diff options
context:
space:
mode:
authorJames Seo <[email protected]>2023-08-06 10:05:59 -0700
committerMartin K. Petersen <[email protected]>2023-11-15 08:52:02 -0500
commitf4f76e141769d7be10d801706858e89cf299c250 (patch)
tree47988e5240e3912cfedc01d7dbcdeee33d3d5fe1 /scripts/bpf_doc.py
parent1f1126609969496bec23c366f83d843db6d7854c (diff)
scsi: mpt3sas: Use struct_size() for struct size calculations
After converting terminal variable arrays into flexible array members, use the bounds-checking struct_size() helper when possible to avoid open-coded arithmetic struct size calculations. Signed-off-by: James Seo <[email protected]> Link: https://lore.kernel.org/r/[email protected] Tested-by: Borislav Petkov (AMD) <[email protected]> Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'scripts/bpf_doc.py')
0 files changed, 0 insertions, 0 deletions