Searched hist:"5 e56bc06e18dfc8a66180fa369384b36e2ab621a" (Results 1 – 1 of 1) sorted by relevance
/linux/drivers/most/ |
H A D | core.c | diff 5e56bc06e18dfc8a66180fa369384b36e2ab621a Fri Apr 24 17:16:34 CEST 2020 Christian Gromm <christian.gromm@microchip.com> most: core: use function subsys_initcall()
This patch replaces function module_init() with subsys_initcall(). It is needed to ensure that the core module of the driver is initialized before a component tries to register with the core. This leads to a NULL pointer dereference if the driver is configured as in-tree.
Signed-off-by: Christian Gromm <christian.gromm@microchip.com> Reported-by: kernel test robot <lkp@intel.com> Link: https://lore.kernel.org/r/1587741394-22021-1-git-send-email-christian.gromm@microchip.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
|