mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-18 17:58:29 +07:00
30f895a9e1
The FE_SUPPORTED() macro is basically the same as IS_REACHABLE, except
that it causes a warning with gcc-7:
common/b2c2/flexcop-fe-tuner.c:30:1: error: this use of "defined" may not be portable [-Werror=expansion-to-defined]
common/b2c2/flexcop-fe-tuner.c:30:1: error: this use of "defined" may not be portable [-Werror=expansion-to-defined]
common/b2c2/flexcop-fe-tuner.c:30:1: error: this use of "defined" may not be portable [-Werror=expansion-to-defined]
Using IS_REACHABLE() to define it avoids the warning.
Fixes:
|
||
---|---|---|
.. | ||
flexcop_ibi_value_be.h | ||
flexcop_ibi_value_le.h | ||
flexcop-common.h | ||
flexcop-eeprom.c | ||
flexcop-fe-tuner.c | ||
flexcop-hw-filter.c | ||
flexcop-i2c.c | ||
flexcop-misc.c | ||
flexcop-reg.h | ||
flexcop-sram.c | ||
flexcop.c | ||
flexcop.h | ||
Kconfig | ||
Makefile |