aboutsummaryrefslogtreecommitdiff
path: root/scripts/bpf_doc.py
diff options
context:
space:
mode:
authorJames Seo <[email protected]>2023-08-06 10:06:03 -0700
committerMartin K. Petersen <[email protected]>2023-11-15 08:52:02 -0500
commitdde41e0c1cc2f81bfb5e4fc86ad66c2234c1878c (patch)
tree8a7c2144afc438b9a9ebed46d22e187420b888ed /scripts/bpf_doc.py
parente5035459d302f4073546eed2bbd6ab55cfdfbcc8 (diff)
scsi: mpt3sas: Replace a dynamic allocation with a local variable
mpt3sas_base.c:_base_update_diag_trigger_pages() allocates and fetches a MPI2_CONFIG_PAGE_SASIOUNIT_1 struct (Mpi2SasIOUnitPage_t), but does not include the terminal flexible array member in the struct size calculation, fetch that member, or otherwise use that member in any way. This dynamic allocation can be replaced with a local variable. 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