diff options
author | Ben Cheatham <[email protected]> | 2024-03-11 09:25:05 -0500 |
---|---|---|
committer | Dan Williams <[email protected]> | 2024-03-12 23:08:29 -0700 |
commit | 5621fafaac0031e8813be4873f8efa097591b026 (patch) | |
tree | b82865729934f30e7ae61b43ba0257ad7c9acf09 /lib/test_fortify/write_overflow-strncpy-src.c | |
parent | d206a76d7d2726f3b096037f2079ce0bd3ba329b (diff) |
EINJ: Migrate to a platform driver
Change the EINJ module to install a platform device/driver on module
init and move the module init() and exit() functions to driver probe and
remove. This change allows the EINJ module to load regardless of whether
setting up EINJ succeeds, which allows dependent modules to still load
(i.e. the CXL core).
Since EINJ may no longer be initialized when the module loads, any
functions that are called from dependent/external modules should
safegaurd against the case EINJ didn't load.
Reviewed-by: Jonathan Cameron <[email protected]>
Reviewed-by: Dan Williams <[email protected]>
Signed-off-by: Ben Cheatham <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Dan Williams <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions