diff options
| author | Arnd Bergmann <[email protected]> | 2025-06-20 11:21:22 +0000 |
|---|---|---|
| committer | Andrew Morton <[email protected]> | 2025-06-25 22:55:04 +0000 |
| commit | b6f5e748587063d4ad3294d07ca29886851d9cd7 (patch) | |
| tree | d7daab99a5fe7b6129aa35d23bba7a793969c7ff /tools/perf/scripts/python/exported-sql-viewer.py | |
| parent | mailmap: correct name for a historical account of Zijun Hu (diff) | |
| download | kernel-b6f5e748587063d4ad3294d07ca29886851d9cd7.tar.gz kernel-b6f5e748587063d4ad3294d07ca29886851d9cd7.zip | |
crashdump: add CONFIG_KEYS dependency
The dm_crypt code fails to build without CONFIG_KEYS:
kernel/crash_dump_dm_crypt.c: In function 'restore_dm_crypt_keys_to_thread_keyring':
kernel/crash_dump_dm_crypt.c:105:9: error: unknown type name 'key_ref_t'; did you mean 'key_ref_put'?
There is a mix of 'select KEYS' and 'depends on KEYS' in Kconfig,
so there is no single obvious solution here, but generally using 'depends on'
makes more sense and is less likely to cause dependency loops.
Link: https://lkml.kernel.org/r/[email protected]
Fixes: 62f17d9df692 ("crash_dump: retrieve dm crypt keys in kdump kernel")
Signed-off-by: Arnd Bergmann <[email protected]>
Cc: Alexander Graf <[email protected]>
Cc: Baoquan He <[email protected]>
Cc: Coiby Xu <[email protected]>
Cc: Dave Vasilevsky <[email protected]>
Cc: Eric Biggers <[email protected]>
Cc: Michael Ellerman <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions
