diff options
| author | Subramanian Mohan <[email protected]> | 2022-05-31 13:26:17 +0000 |
|---|---|---|
| committer | Bjorn Helgaas <[email protected]> | 2022-06-10 14:46:14 +0000 |
| commit | 46d2398c3bc0afaf736c38ccc87cb0e93aa9f29a (patch) | |
| tree | 95be77d6e9ef50ec202415862d21e9716c455ebd /drivers/pci/controller/dwc/pci-keystone.c | |
| parent | Linux 5.19-rc1 (diff) | |
| download | kernel-46d2398c3bc0afaf736c38ccc87cb0e93aa9f29a.tar.gz kernel-46d2398c3bc0afaf736c38ccc87cb0e93aa9f29a.zip | |
PCI: vmd: Use devm_kasprintf() instead of simple kasprintf()
Use devm_kasprintf() instead of simple kasprintf() to free allocated memory
automatically when the device is freed.
Suggested-by: Srikanth Thokala <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Subramanian Mohan <[email protected]>
Signed-off-by: Bjorn Helgaas <[email protected]>
Acked-by: Nirmal Patel <[email protected]>
Diffstat (limited to 'drivers/pci/controller/dwc/pci-keystone.c')
0 files changed, 0 insertions, 0 deletions
