Re: [PATCH v4] media: dvb-frontends: add Socionext SC1501A ISDB-S/T demodulator driver

From: kbuild test robot
Date: Wed Jul 18 2018 - 18:19:34 EST


Hi Katsuhiro,

I love your patch! Yet something to improve:

[auto build test ERROR on linuxtv-media/master]
[also build test ERROR on v4.18-rc5 next-20180718]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]

url: https://github.com/0day-ci/linux/commits/Katsuhiro-Suzuki/media-dvb-frontends-add-Socionext-SC1501A-ISDB-S-T-demodulator-driver/20180719-045753
base: git://linuxtv.org/media_tree.git master
config: x86_64-randconfig-u0-07190437 (attached as .config)
compiler: gcc-5 (Debian 5.5.0-3) 5.4.1 20171010
reproduce:
# save the attached .config to linux build tree
make ARCH=x86_64

All errors (new ones prefixed by >>):

>> drivers/media/dvb-frontends/sc1501a.c:646:3: error: unknown field 'frequency_min_hz' specified in initializer
.frequency_min_hz = 470 * MHz,
^
>> drivers/media/dvb-frontends/sc1501a.c:646:30: error: 'MHz' undeclared here (not in a function)
.frequency_min_hz = 470 * MHz,
^
>> drivers/media/dvb-frontends/sc1501a.c:647:3: error: unknown field 'frequency_max_hz' specified in initializer
.frequency_max_hz = 2071 * MHz,
^

vim +/frequency_min_hz +646 drivers/media/dvb-frontends/sc1501a.c

641
642 static const struct dvb_frontend_ops sc1501a_ops = {
643 .delsys = { SYS_ISDBS, SYS_ISDBT },
644 .info = {
645 .name = "Socionext SC1501A",
> 646 .frequency_min_hz = 470 * MHz,
> 647 .frequency_max_hz = 2071 * MHz,
648 .symbol_rate_min = 28860000,
649 .symbol_rate_max = 28860000,
650 .caps = FE_CAN_INVERSION_AUTO | FE_CAN_FEC_AUTO |
651 FE_CAN_QAM_AUTO | FE_CAN_TRANSMISSION_MODE_AUTO |
652 FE_CAN_GUARD_INTERVAL_AUTO | FE_CAN_HIERARCHY_AUTO,
653 },
654
655 .sleep = sc1501a_sleep,
656 .set_frontend = sc1501a_set_frontend,
657 .get_tune_settings = sc1501a_get_tune_settings,
658 .read_status = sc1501a_read_status,
659 };
660

---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation

Attachment: .config.gz
Description: application/gzip