[linuxtv-media:master 454/495] drivers/staging/media/atomisp/pci/sh_css_firmware.h:41:38: warning: 'struct device' declared inside parameter list will not be visible outside of this definition or declaration

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



tree:   git://linuxtv.org/media_tree.git master
head:   960b2dee908b0fc51cf670841de13b40b44aaaae
commit: 8568fe630066a733456fb1ffc8e1402191d7e27c [454/495] media: atomisp: print a better message when fw version is wrong
config: i386-allyesconfig (attached as .config)
compiler: gcc-7 (Ubuntu 7.5.0-6ubuntu2) 7.5.0
reproduce:
        git checkout 8568fe630066a733456fb1ffc8e1402191d7e27c
        # save the attached .config to linux build tree
        make ARCH=i386 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kbuild test robot <lkp@xxxxxxxxx>

All warnings (new ones prefixed by >>, old ones prefixed by <<):

In file included from drivers/staging/media/atomisp/pci/sh_css_version.c:19:0:
>> drivers/staging/media/atomisp/pci/sh_css_firmware.h:41:38: warning: 'struct device' declared inside parameter list will not be visible outside of this definition or declaration
sh_css_check_firmware_version(struct device *dev, const char *fw_data);
^~~~~~
drivers/staging/media/atomisp/pci/sh_css_firmware.h:44:29: warning: 'struct device' declared inside parameter list will not be visible outside of this definition or declaration
sh_css_load_firmware(struct device *dev, const char *fw_data,
^~~~~~

vim +41 drivers/staging/media/atomisp/pci/sh_css_firmware.h

    39	
    40	bool
  > 41	sh_css_check_firmware_version(struct device *dev, const char *fw_data);
    42	

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx

Attachment: .config.gz
Description: application/gzip


[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]

  Powered by Linux