aboutsummaryrefslogtreecommitdiff
path: root/scripts/generate_rust_analyzer.py
diff options
context:
space:
mode:
authorJia He <[email protected]>2022-10-10 02:35:55 +0000
committerBorislav Petkov <[email protected]>2022-10-21 19:32:38 +0200
commit9057a3f7ac360e068ceb261938e9ae2b1a7e654c (patch)
tree7a0560dae0204f33a3a48a748134ba9bbdb68bc2 /scripts/generate_rust_analyzer.py
parent8e40612f6146da1333e9bb5cfd9af7511c063d93 (diff)
EDAC/ghes: Prepare to make ghes_edac a proper module
To make ghes_edac a proper module, prepare to decouple its dependencies from GHES. Move the ghes_edac.force_load parameter to ghes.c in order to properly control whether ghes_edac should be force-loaded: In ghes_edac_register() it is too late to set the module flag. Introduce a helper ghes_get_devices(), which returns the list of GHES devices which got probed when the platform-check passes on the system. The previous force_load check is not needed in ghes_edac_unregister() since it will be checked in the module's init function of ghes_edac later. [ bp: Massage. ] Suggested-by: Toshi Kani <[email protected]> Suggested-by: Borislav Petkov <[email protected]> Signed-off-by: Jia He <[email protected]> Signed-off-by: Borislav Petkov <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions