* [linux-sof-driver:pr/2743 4/6] include/linux/soundwire/sdw.h:824:33: warning: 'struct acpi_device' declared inside parameter list will not be visible outside of this definition or declaration
@ 2021-02-06 11:18 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2021-02-06 11:18 UTC (permalink / raw)
To: kbuild-all
[-- Attachment #1: Type: text/plain, Size: 2974 bytes --]
tree: https://github.com/thesofproject/linux pr/2743
head: 72301432a3dd42e68e4bf0f4c1d52f36ba7ac58d
commit: 267f9a2d6e3fa4ceb02e7e63285874deee8e59a3 [4/6] fixup! soundwire: add override addr ops
config: arm64-sof-customedconfig-nobloat-imx-defconfig (attached as .config)
compiler: aarch64-linux-gcc (GCC) 9.3.0
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# https://github.com/thesofproject/linux/commit/267f9a2d6e3fa4ceb02e7e63285874deee8e59a3
git remote add linux-sof-driver https://github.com/thesofproject/linux
git fetch --no-tags linux-sof-driver pr/2743
git checkout 267f9a2d6e3fa4ceb02e7e63285874deee8e59a3
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=arm64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
All warnings (new ones prefixed by >>):
In file included from drivers/base/regmap/regmap-sdw.c:8:
>> include/linux/soundwire/sdw.h:824:33: warning: 'struct acpi_device' declared inside parameter list will not be visible outside of this definition or declaration
824 | (struct sdw_bus *bus, struct acpi_device *adev);
| ^~~~~~~~~~~
vim +824 include/linux/soundwire/sdw.h
808
809 /**
810 * struct sdw_master_ops - Master driver ops
811 * @read_prop: Read Master properties
812 * @override_adr: Override reading address from firmware and read from
813 * driver instead (quirk for buggy firmware)
814 * @xfer_msg: Transfer message callback
815 * @xfer_msg_defer: Defer version of transfer message callback
816 * @reset_page_addr: Reset the SCP page address registers
817 * @set_bus_conf: Set the bus configuration
818 * @pre_bank_switch: Callback for pre bank switch
819 * @post_bank_switch: Callback for post bank switch
820 */
821 struct sdw_master_ops {
822 int (*read_prop)(struct sdw_bus *bus);
823 unsigned long long (*override_adr)
> 824 (struct sdw_bus *bus, struct acpi_device *adev);
825 enum sdw_command_response (*xfer_msg)
826 (struct sdw_bus *bus, struct sdw_msg *msg);
827 enum sdw_command_response (*xfer_msg_defer)
828 (struct sdw_bus *bus, struct sdw_msg *msg,
829 struct sdw_defer *defer);
830 enum sdw_command_response (*reset_page_addr)
831 (struct sdw_bus *bus, unsigned int dev_num);
832 int (*set_bus_conf)(struct sdw_bus *bus,
833 struct sdw_bus_params *params);
834 int (*pre_bank_switch)(struct sdw_bus *bus);
835 int (*post_bank_switch)(struct sdw_bus *bus);
836
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org
[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 30475 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2021-02-06 11:18 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-02-06 11:18 [linux-sof-driver:pr/2743 4/6] include/linux/soundwire/sdw.h:824:33: warning: 'struct acpi_device' declared inside parameter list will not be visible outside of this definition or declaration kernel test robot
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.