Revision d9fb5660459819513d510e72caa3120a7cf41ee1 authored by Ralf Baechle on 09 June 2015, 07:35:34 UTC, committed by Ralf Baechle on 10 June 2015, 08:43:07 UTC
If CONFIG_SERIAL_8250 is set to m, the Loongson seria.ko module might get
unloaded while the serial driver modules are still loaded resulting in
stale references to the destroyed platform_device instance.

Anyway, platform devices should always be registered indicated what
devices are present, _not_ what drivers have been configured.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Reported-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Patchwork: https://patchwork.linux-mips.org/patch/10538/
1 parent 34b1252
History
File Mode Size
Kconfig -rw-r--r-- 640 bytes
Makefile -rw-r--r-- 207 bytes
alloc.c -rw-r--r-- 12.2 KB
anode.c -rw-r--r-- 15.4 KB
buffer.c -rw-r--r-- 4.6 KB
dentry.c -rw-r--r-- 1.4 KB
dir.c -rw-r--r-- 8.5 KB
dnode.c -rw-r--r-- 30.4 KB
ea.c -rw-r--r-- 11.4 KB
file.c -rw-r--r-- 5.3 KB
hpfs.h -rw-r--r-- 17.9 KB
hpfs_fn.h -rw-r--r-- 12.4 KB
inode.c -rw-r--r-- 8.8 KB
map.c -rw-r--r-- 8.9 KB
name.c -rw-r--r-- 3.1 KB
namei.c -rw-r--r-- 15.7 KB
super.c -rw-r--r-- 19.1 KB

back to top