diff options
| author | Yoshihiro Shimoda <[email protected]> | 2023-08-03 08:18:12 +0000 |
|---|---|---|
| committer | Martin K. Petersen <[email protected]> | 2023-08-08 01:34:08 +0000 |
| commit | b6d128f89a85771433a004e8656090ccbe1fb969 (patch) | |
| tree | 6878d8b067303541cc80c3a52b39e342858f0575 /rust/helpers.c | |
| parent | scsi: snic: Fix possible memory leak if device_add() fails (diff) | |
| download | kernel-b6d128f89a85771433a004e8656090ccbe1fb969.tar.gz kernel-b6d128f89a85771433a004e8656090ccbe1fb969.zip | |
scsi: ufs: renesas: Fix private allocation
Should use devm_kzalloc() for struct ufs_renesas_priv because the
.initialized should be false as default.
Fixes: d69520288efd ("scsi: ufs: ufs-renesas: Add support for Renesas R-Car UFS controller")
Signed-off-by: Yoshihiro Shimoda <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Reviewed-by: Bart Van Assche <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'rust/helpers.c')
0 files changed, 0 insertions, 0 deletions
