Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

Merge branch 'pci/hotplug' into next

* pci/hotplug:
PCI: acpiphp_ibm: Make ibm_apci_table_attr __ro_after_init
PCI: rpadlpar: Remove unnecessary return statement

+2 -4
+1 -1
drivers/pci/hotplug/acpiphp_ibm.c
··· 107 107 108 108 static acpi_handle ibm_acpi_handle; 109 109 static struct notification ibm_note; 110 - static struct bin_attribute ibm_apci_table_attr = { 110 + static struct bin_attribute ibm_apci_table_attr __ro_after_init = { 111 111 .attr = { 112 112 .name = "apci_table", 113 113 .mode = S_IRUGO,
+1 -3
drivers/pci/hotplug/rpadlpar_core.c
··· 463 463 464 464 int __init rpadlpar_io_init(void) 465 465 { 466 - int rc = 0; 467 466 468 467 if (!is_dlpar_capable()) { 469 468 printk(KERN_WARNING "%s: partition not DLPAR capable\n", ··· 470 471 return -EPERM; 471 472 } 472 473 473 - rc = dlpar_sysfs_init(); 474 - return rc; 474 + return dlpar_sysfs_init(); 475 475 } 476 476 477 477 void rpadlpar_io_exit(void)