Re: [PATCH] media: dvbdev: fix building on ia64

2018-03-07 Thread Mauro Carvalho Chehab
Em Wed, 7 Mar 2018 06:47:14 -0300 Fabio Estevam escreveu: > Hi Mauro, > > On Wed, Mar 7, 2018 at 6:14 AM, Mauro Carvalho Chehab > wrote: > > Not sure why, but, on ia64, with Linaro's gcc 7.3 compiler, > > using #ifdef (CONFIG_I2C) is not OK. > > Looking at the kbuild report the failure happe

Re: [PATCH] media: dvbdev: fix building on ia64

2018-03-07 Thread Fabio Estevam
Hi Mauro, On Wed, Mar 7, 2018 at 6:14 AM, Mauro Carvalho Chehab wrote: > Not sure why, but, on ia64, with Linaro's gcc 7.3 compiler, > using #ifdef (CONFIG_I2C) is not OK. Looking at the kbuild report the failure happens when CONFIG_I2C=m. IS_ENABLED() macro takes care of both built-in and modu

[PATCH] media: dvbdev: fix building on ia64

2018-03-07 Thread Mauro Carvalho Chehab
Not sure why, but, on ia64, with Linaro's gcc 7.3 compiler, using #ifdef (CONFIG_I2C) is not OK. So, replace it by IS_ENABLED(CONFIG_I2C), in order to fix the builds there. Reported-by: kbuild test robot Signed-off-by: Mauro Carvalho Chehab --- drivers/media/dvb-core/dvbdev.c | 2 +- include/m