Linux-Media Archive on lore.kernel.org
 help / color / Atom feed
* [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
@ 2020-05-20 19:12 kbuild test robot
  0 siblings, 0 replies; only message in thread
From: kbuild test robot @ 2020-05-20 19:12 UTC (permalink / raw)
  To: Mauro Carvalho Chehab; +Cc: kbuild-all, linux-media


[-- Attachment #1: Type: text/plain, Size: 1511 bytes --]

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@intel.com>

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@lists.01.org

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 72759 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, back to index

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-20 19:12 [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 kbuild test robot

Linux-Media Archive on lore.kernel.org

Archives are clonable:
	git clone --mirror https://lore.kernel.org/linux-media/0 linux-media/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 linux-media linux-media/ https://lore.kernel.org/linux-media \
		linux-media@vger.kernel.org
	public-inbox-index linux-media

Example config snippet for mirrors

Newsgroup available over NNTP:
	nntp://nntp.lore.kernel.org/org.kernel.vger.linux-media


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git