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: i386-randconfig-s1-201816 (attached as .config)
compiler: gcc-6 (Debian 6.4.0-9) 6.4.0 20171026
reproduce:
        # save the attached .config to linux build tree
        make ARCH=i386 

All errors (new ones prefixed by >>):

>> drivers/media/rc/keymaps/rc-nvidia.c:47:4: error: unknown field 'rc_type' 
>> specified in initializer
       .rc_type = RC_TYPE_SONY12,
       ^
>> drivers/media/rc/keymaps/rc-nvidia.c:47:15: error: 'RC_TYPE_SONY12' 
>> undeclared here (not in a function)
       .rc_type = RC_TYPE_SONY12,
                  ^~~~~~~~~~~~~~
--
>> drivers/media/rc/keymaps/rc-nvidia-nec.c:47:4: error: unknown field 
>> 'rc_type' specified in initializer
       .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)
       .rc_type = RC_TYPE_NEC,
                  ^~~~~~~~~~~

vim +/rc_type +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

Reply via email to