summaryrefslogtreecommitdiffstats
path: root/lib/test-kstrtox.c
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2016-11-24 17:25:38 +0100
committerMauro Carvalho Chehab <mchehab@s-opensource.com>2017-02-03 10:12:59 +0100
commit30f895a9e1df6a44cef6e4e0fad70762026b8512 (patch)
treeca3789ac7eecc84fe64b6408b7f5f77bf59e989b /lib/test-kstrtox.c
parent[media] ivtv: mark DVB "borrowed" ioctls as deprecated (diff)
downloadlinux-30f895a9e1df6a44cef6e4e0fad70762026b8512.tar.xz
linux-30f895a9e1df6a44cef6e4e0fad70762026b8512.zip
[media] b2c2: use IS_REACHABLE() instead of open-coding it
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: 3785bc170f79 ("[media] b2c2: break it into common/pci/usb directories") Signed-off-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'lib/test-kstrtox.c')
0 files changed, 0 insertions, 0 deletions