mirror of
https://git.proxmox.com/git/mirror_ubuntu-kernels.git
synced 2025-11-21 06:17:57 +00:00
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 | ||