aboutsummaryrefslogtreecommitdiffstats
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorJan Beulich <[email protected]>2014-04-14 20:59:50 +0000
committerBjorn Helgaas <[email protected]>2014-04-14 21:15:34 +0000
commit1406276c1254d761da7c16b30aa32e3af2b3612a (patch)
tree656f0d92eade2f9d0c78cf618b4b9031ce48c796 /net/unix/af_unix.c
parentPCI/portdrv: Use pci_enable_msix_exact() instead of pci_enable_msix() (diff)
downloadkernel-1406276c1254d761da7c16b30aa32e3af2b3612a.tar.gz
kernel-1406276c1254d761da7c16b30aa32e3af2b3612a.zip
PCI/MSI: Simplify populate_msi_sysfs()
Simplify populate_msi_sysfs() by - Swapping the order of the two allocations and storing the msi_dev_attr-derived pointer right after allocation, allowing the cleanup code to pick things up without extra effort. - Using kasprintf() instead of the kmalloc()/sprintf() pair. Signed-off-by: Jan Beulich <[email protected]> Signed-off-by: Bjorn Helgaas <[email protected]> Acked-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions