diff options
| author | Geoff Levand <[email protected]> | 2023-06-30 21:58:46 +0000 |
|---|---|---|
| committer | Jon Mason <[email protected]> | 2023-07-08 15:03:53 +0000 |
| commit | ce946519f95fe8f74ee1dba25512a33895520f41 (patch) | |
| tree | 605a8b2190a184c357cde591e4a9fc8147aadb74 /tools/perf/scripts/python/mem-phys-addr.py | |
| parent | ntb: intel: Remove redundant pci_clear_master (diff) | |
| download | kernel-ce946519f95fe8f74ee1dba25512a33895520f41.tar.gz kernel-ce946519f95fe8f74ee1dba25512a33895520f41.zip | |
ntb_netdev: Fix module_init problem
With both the ntb_transport_init and the ntb_netdev_init_module routines in the
module_init init group, the ntb_netdev_init_module routine can be called before
the ntb_transport_init routine that it depends on is called. To assure the
proper initialization order put ntb_netdev_init_module in the late_initcall
group.
Fixes runtime errors where the ntb_netdev_init_module call fails with ENODEV.
Signed-off-by: Geoff Levand <[email protected]>
Reviewed-by: Dave Jiang <[email protected]>
Signed-off-by: Jon Mason <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions
