Re: [PATCH 1/1] media: rc: Add NVIDIA IR keymapping

From: kbuild test robot
Date: Sun Apr 22 2018 - 16:13:53 EST


Hi Jun,

Thank you for the patch! Yet something to improve:

[auto build test ERROR on linuxtv-media/master]
[also build test ERROR on v4.17-rc1 next-20180420]
[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/Vladislav-Zhurba/media-rc-Add-NVIDIA-IR-keymapping/20180423-023840
base: git://linuxtv.org/media_tree.git master
config: x86_64-allyesdebian (attached as .config)
compiler: gcc-7 (Debian 7.3.0-16) 7.3.0
reproduce:
# save the attached .config to linux build tree
make ARCH=x86_64

All errors (new ones prefixed by >>):

>> drivers/media/rc/keymaps/rc-nvidia.c:47:5: error: 'struct rc_map' has no member named 'rc_type'
.rc_type = RC_TYPE_SONY12,
^~~~~~~
>> drivers/media/rc/keymaps/rc-nvidia.c:47:15: error: 'RC_TYPE_SONY12' undeclared here (not in a function); did you mean 'RC_PROTO_SONY12'?
.rc_type = RC_TYPE_SONY12,
^~~~~~~~~~~~~~
RC_PROTO_SONY12
--
>> drivers/media/rc/keymaps/rc-nvidia-nec.c:47:5: error: 'struct rc_map' has no member named 'rc_type'
.rc_type = RC_TYPE_NEC,
^~~~~~~
>> drivers/media/rc/keymaps/rc-nvidia-nec.c:47:15: error: 'RC_TYPE_NEC' undeclared here (not in a function); did you mean 'RC_MAP_CEC'?
.rc_type = RC_TYPE_NEC,
^~~~~~~~~~~
RC_MAP_CEC

vim +47 drivers/media/rc/keymaps/rc-nvidia.c

42
43 static struct rc_map_list nvidia_map = {
44 .map = {
45 .scan = foster_table,
46 .size = ARRAY_SIZE(foster_table),
> 47 .rc_type = RC_TYPE_SONY12,
48 .name = RC_MAP_NVIDIA,
49 }
50 };
51

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

Attachment: .config.gz
Description: application/gzip