summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorChristian Gromm <christian.gromm@microchip.com>2020-04-24 18:16:34 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-04-28 16:04:09 +0300
commit5e56bc06e18dfc8a66180fa369384b36e2ab621a (patch)
treee71499f0004bd5b5fa3769732d9f9eef4834e037 /tools/perf/scripts/python/stackcollapse.py
parent522587e7c008c24f19ef5ef34806268992c5e5a6 (diff)
downloadlinux-5e56bc06e18dfc8a66180fa369384b36e2ab621a.tar.xz
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>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions