diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2016-03-25 09:02:13 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2016-03-25 09:02:13 -0700 |
commit | 1701f680407c6cc05121566cef5293d33881fe71 (patch) | |
tree | bf9e537a9a36ba066f6f1b25e6bde58c35516706 /include/linux/dmapool.h | |
parent | 3b3b3bd97788e1f574c71f865d8465b00a6b8708 (diff) | |
download | op-kernel-dev-1701f680407c6cc05121566cef5293d33881fe71.zip op-kernel-dev-1701f680407c6cc05121566cef5293d33881fe71.tar.gz |
Revert "ppdev: use new parport device model"
This reverts commit e7223f18603374d235d8bb0398532323e5f318b9.
It causes problems when a ppdev tries to register before the parport
driver has been registered with the device model. That will trigger the
BUG_ON(!drv->bus->p);
at drivers/base/driver.c:153. The call chain is
kernel_init ->
kernel_init_freeable ->
do_one_initcall ->
ppdev_init ->
__parport_register_driver ->
driver_register *BOOM*
Reported-by: kernel test robot <fengguang.wu@intel.com>
Reported-by: Ross Zwisler <zwisler@gmail.com>
Reported-by: Petr Mladek <pmladek@suse.com>
Cc: Sudip Mukherjee <sudipm.mukherjee@gmail.com>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/linux/dmapool.h')
0 files changed, 0 insertions, 0 deletions