aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pci/controller/dwc/pci-meson.c
diff options
context:
space:
mode:
authorSubramanian Mohan <[email protected]>2022-05-31 13:26:17 +0000
committerBjorn Helgaas <[email protected]>2022-06-10 14:46:14 +0000
commit46d2398c3bc0afaf736c38ccc87cb0e93aa9f29a (patch)
tree95be77d6e9ef50ec202415862d21e9716c455ebd /drivers/pci/controller/dwc/pci-meson.c
parentLinux 5.19-rc1 (diff)
downloadkernel-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-meson.c')
0 files changed, 0 insertions, 0 deletions