summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorKees Cook <kees@kernel.org>2025-04-25 23:20:11 -0700
committerMartin K. Petersen <martin.petersen@oracle.com>2025-04-28 21:30:47 -0400
commit3d030e2feb8a3545959d80362dd91fb769868c54 (patch)
tree5323d64a515c47471eb39bdd29b2e9068eb907bb /tools/perf/scripts/python/export-to-sqlite.py
parent386e014202f8380bc034678f157140db2d4dc25a (diff)
scsi: qla4xxx: Remove duplicate struct crb_addr_pair
In preparation for making the kmalloc family of allocators type aware, we need to make sure that the returned type from the allocation matches the type of the variable being assigned. (Before, the allocator would always return "void *", which can be implicitly cast to any pointer type.) The assigned type is "struct crb_addr_pair *" and the returned type will be a _different_ "struct crb_addr_pair *", causing a warning. This really stumped me for a bit. :) Drop the redundant declaration. Signed-off-by: Kees Cook <kees@kernel.org> Link: https://lore.kernel.org/r/20250426062010.work.878-kees@kernel.org Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions