diff options
| author | Chandrakanth Patil <chandrakanth.patil@broadcom.com> | 2026-08-26 02:34:09 +0530 |
|---|---|---|
| committer | Martin K. Petersen (Oracle) <mkp@kernel.org> | 2026-09-09 22:08:16 -0400 |
| commit | 052aea807cfbcefaf5b6ed8202f65da1fc65f4a0 (patch) | |
| tree | a0da1630de8f6f444c1e0c017cd85f656641652e /tools/perf/scripts/python/export-to-postgresql.py | |
| parent | 7d572b4dc4ed0494e67097d4b7368666655f5c99 (diff) | |
| download | linux-next-052aea807cfbcefaf5b6ed8202f65da1fc65f4a0.tar.gz linux-next-052aea807cfbcefaf5b6ed8202f65da1fc65f4a0.zip | |
scsi: mpi3mr: zero out diagnostic buffer status memory
Memory allocated for the BSG diagnostic buffer status is not zeroed before
it is copied back to user space. Several fields in this structure are
reserved and never written by the driver. Use kzalloc() instead of
kmalloc() to zero out the allocated memory.
Fixes: 78b506984ebe ("scsi: mpi3mr: Add ioctl support for HDB")
Signed-off-by: Chandrakanth Patil <chandrakanth.patil@broadcom.com>
Link: https://patch.msgid.link/20260825210411.301535-16-chandrakanth.patil@broadcom.com
Signed-off-by: Martin K. Petersen (Oracle) <mkp@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions
