All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: [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
Date: Sat, 06 Feb 2021 19:18:04 +0800	[thread overview]
Message-ID: <202102061959.TSrAtaly-lkp@intel.com> (raw)

[-- 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 --]

                 reply	other threads:[~2021-02-06 11:18 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=202102061959.TSrAtaly-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=kbuild-all@lists.01.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.