mirror of
https://github.com/torvalds/linux.git
synced 2024-12-25 20:32:22 +00:00
6b0856ee58
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:
|
||
---|---|---|
.. | ||
ax45mp_cache.c | ||
Kconfig | ||
Makefile | ||
sifive_ccache.c |