[PATCH] fix OOPS for multiple IDE PCI modules and CONFIG_PROC_FS=y
The problem is that when loading next IDE PCI module memory used by previously registered ide_pci_host_proc_list entry is already unmapped (because of __{dev}initdata). This doesn't happen in built-in case because this memory is freed after all drivers are initialized. Fix it by removing __{dev}initdata from all ide_pci_host_proc_t. Thanks to Andre Tomt <andre@tomt.net> for help in debugging this.
Showing
Please register or sign in to comment