aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/timerlist.py
diff options
context:
space:
mode:
authorKrzysztof Kozlowski <[email protected]>2021-06-01 11:27:04 +0200
committerBorislav Petkov <[email protected]>2021-08-16 20:21:46 +0200
commit7d07deb3b838ae93994003cf824515acb352eef3 (patch)
treeeef8ac51edb3b491484e9cfa31fd9efbb128f47d /scripts/gdb/linux/timerlist.py
parent767f4b620edadac579c9b8b6660761d4285fa6f9 (diff)
EDAC/altera: Skip defining unused structures for specific configs
The Altera EDAC driver has several features conditionally built depending on Kconfig options. The edac_device_prv_data structures are conditionally used in of_device_id tables. They reference other functions and structures which can be defined as __maybe_unused. Silence build warnings like: drivers/edac/altera_edac.c:643:37: warning: ‘altr_edac_device_inject_fops’ defined but not used [-Wunused-const-variable=] Reported-by: kernel test robot <[email protected]> Signed-off-by: Krzysztof Kozlowski <[email protected]> Signed-off-by: Borislav Petkov <[email protected]> Acked-by: Dinh Nguyen <[email protected]> Link: https://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'scripts/gdb/linux/timerlist.py')
0 files changed, 0 insertions, 0 deletions