summaryrefslogtreecommitdiffstats
path: root/drivers/pci/controller/dwc
diff options
context:
space:
mode:
authorSubramanian Mohan <subramanian.mohan@intel.com>2022-05-31 18:56:17 +0530
committerBjorn Helgaas <bhelgaas@google.com>2022-06-10 09:46:14 -0500
commit46d2398c3bc0afaf736c38ccc87cb0e93aa9f29a (patch)
tree95be77d6e9ef50ec202415862d21e9716c455ebd /drivers/pci/controller/dwc
parentf2906aa863381afb0015a9eb7fefad885d4e5a56 (diff)
downloadlinux-46d2398c3bc0afaf736c38ccc87cb0e93aa9f29a.tar.bz2
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 <srikanth.thokala@intel.com> Link: https://lore.kernel.org/r/20220531132617.20517-1-subramanian.mohan@intel.com Signed-off-by: Subramanian Mohan <subramanian.mohan@intel.com> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com> Acked-by: Nirmal Patel <nirmal.patel@linux.intel.com>
Diffstat (limited to 'drivers/pci/controller/dwc')
0 files changed, 0 insertions, 0 deletions