diff options
| author | Samuel Holland <[email protected]> | 2024-04-10 23:22:03 +0000 |
|---|---|---|
| committer | Conor Dooley <[email protected]> | 2024-04-11 06:28:37 +0000 |
| commit | 6b0856ee585d7f8a544546c3c5f1f4c49162e451 (patch) | |
| tree | f784b42e9a9c71e3feea6bc99a0fbdc8d911f01d /scripts/generate_rust_target.rs | |
| parent | cache: sifive_ccache: Partially convert to a platform driver (diff) | |
| download | kernel-6b0856ee585d7f8a544546c3c5f1f4c49162e451.tar.gz kernel-6b0856ee585d7f8a544546c3c5f1f4c49162e451.zip | |
cache: sifive_ccache: Silence unused variable warning
With W=1 and CONFIG_RISCV_NONSTANDARD_CACHE_OPS=n, GCC warns:
drivers/cache/sifive_ccache.c: In function 'sifive_ccache_init':
drivers/cache/sifive_ccache.c:293:23: warning: variable 'quirks' set but not used [-Wunused-but-set-variable]
293 | unsigned long quirks;
| ^~~~~~
This is expected, since QUIRK_NONSTANDARD_CACHE_OPS is the only quirk
still handled in this function.
Fixes: c90847bcbfb6 ("cache: sifive_ccache: Partially convert to a platform driver")
Reported-by: kernel test robot <[email protected]>
Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/
Signed-off-by: Samuel Holland <[email protected]>
Signed-off-by: Conor Dooley <[email protected]>
Diffstat (limited to 'scripts/generate_rust_target.rs')
0 files changed, 0 insertions, 0 deletions
