mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-11-26 13:13:39 +00:00
The fmc-chardev module was over-locking, by calling misc register/unregister while holding its spinlock. This reported a "scheduling while atomic" error. Since the misc driver already serializes operations internally, this commit downgrades the fmc-chardev lock to just cover its own list. Reported-by: Sasha Levin <sasha.levin@oracle.com> Reported-by: Fengguang Wu <fengguang.wu@intel.com> Signed-off-by: Alessandro Rubini <rubini@gnudd.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> |
History
|
|
|---|---|---|
| .. | ||
| fmc-chardev.c | ||
| fmc-core.c | ||
| fmc-dump.c | ||
| fmc-fakedev.c | ||
| fmc-match.c | ||
| fmc-sdb.c | ||
| fmc-trivial.c | ||
| fmc-write-eeprom.c | ||
| fru-parse.c | ||
| Kconfig | ||
| Makefile | ||