diff options
author | Maurizio Lombardi <[email protected]> | 2014-06-17 13:15:40 +0200 |
---|---|---|
committer | Christoph Hellwig <[email protected]> | 2014-06-25 13:29:05 +0200 |
commit | f2c6f180c98e1a8bc84781f32894b595363d3dfb (patch) | |
tree | c8f61123f9ebfcae8e30a0b355d201af41ae99c1 /drivers/scsi/mpt2sas/mpi/mpi2_init.h | |
parent | 3a980508c3fab88527998c258ddb3c12ff36fedc (diff) |
pm8001: Fix potential null pointer dereference and memory leak.
The pm8001_get_phy_settings_info() function does not check
the kzalloc() return value and does not free the allocated memory.
Signed-off-by: Maurizio Lombardi <[email protected]>
Acked-by: Suresh Thiagarajan <[email protected]>
Acked-by: Jack Wang <[email protected]>
Signed-off-by: Christoph Hellwig <[email protected]>
Diffstat (limited to 'drivers/scsi/mpt2sas/mpi/mpi2_init.h')
0 files changed, 0 insertions, 0 deletions