All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: Re: [PATCH v4 4/9] spi: Add API to count spi acpi resources
Date: Fri, 21 Jan 2022 01:05:14 +0800	[thread overview]
Message-ID: <202201210109.tNnI8P2j-lkp@intel.com> (raw)
In-Reply-To: <20220120134326.5295-5-sbinding@opensource.cirrus.com>

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

Hi Stefan,

Thank you for the patch! Perhaps something to improve:

[auto build test WARNING on next-20220120]
[also build test WARNING on v5.16]
[cannot apply to broonie-spi/for-next rafael-pm/linux-next tiwai-sound/for-next linus/master v5.16 v5.16-rc8 v5.16-rc7]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch]

url:    https://github.com/0day-ci/linux/commits/Stefan-Binding/Support-Spi-in-i2c-multi-instantiate-driver/20220120-214608
base:    7fc5253f5a13271e9df35d6b936ff97b74540a59
config: alpha-allyesconfig (https://download.01.org/0day-ci/archive/20220121/202201210109.tNnI8P2j-lkp(a)intel.com/config)
compiler: alpha-linux-gcc (GCC) 11.2.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/0day-ci/linux/commit/684295c62acdefb3fab20a0e7633793ba748c6d7
        git remote add linux-review https://github.com/0day-ci/linux
        git fetch --no-tags linux-review Stefan-Binding/Support-Spi-in-i2c-multi-instantiate-driver/20220120-214608
        git checkout 684295c62acdefb3fab20a0e7633793ba748c6d7
        # save the config file to linux build tree
        mkdir build_dir
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=alpha SHELL=/bin/bash drivers/char/tpm/st33zp24/

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/char/tpm/st33zp24/spi.c:8:
   include/linux/spi/spi.h:772:1: error: expected identifier or '(' before '{' token
     772 | {
         | ^
>> include/linux/spi/spi.h:776:5: warning: no previous prototype for 'acpi_spi_count_resources' [-Wmissing-prototypes]
     776 | int acpi_spi_count_resources(struct acpi_device *adev)
         |     ^~~~~~~~~~~~~~~~~~~~~~~~
   include/linux/spi/spi.h:769:34: warning: 'acpi_spi_device_alloc' declared 'static' but never defined [-Wunused-function]
     769 | static inline struct spi_device *acpi_spi_device_alloc(struct spi_controller *ctlr,
         |                                  ^~~~~~~~~~~~~~~~~~~~~
   drivers/char/tpm/st33zp24/spi.c:408:36: warning: 'st33zp24_spi_acpi_match' defined but not used [-Wunused-const-variable=]
     408 | static const struct acpi_device_id st33zp24_spi_acpi_match[] = {
         |                                    ^~~~~~~~~~~~~~~~~~~~~~~


vim +/acpi_spi_count_resources +776 include/linux/spi/spi.h

   775	
 > 776	int acpi_spi_count_resources(struct acpi_device *adev)
   777	{
   778		return -EOPNOTSUPP;
   779	}
   780	#endif
   781	

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

  parent reply	other threads:[~2022-01-20 17:05 UTC|newest]

Thread overview: 60+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-01-20 13:43 [PATCH v4 0/9] Support Spi in i2c-multi-instantiate driver Stefan Binding
2022-01-20 13:43 ` Stefan Binding
2022-01-20 13:43 ` [PATCH v4 1/9] spi: Make spi_alloc_device and spi_add_device public again Stefan Binding
2022-01-20 13:43   ` Stefan Binding
2022-01-20 14:39   ` Hans de Goede
2022-01-20 14:39     ` Hans de Goede
2022-01-20 13:43 ` [PATCH v4 2/9] spi: Create helper API to lookup ACPI info for spi device Stefan Binding
2022-01-20 13:43   ` Stefan Binding
2022-01-20 14:37   ` Hans de Goede
2022-01-20 14:37     ` Hans de Goede
2022-01-20 17:05   ` kernel test robot
2022-01-20 17:05   ` kernel test robot
2022-01-20 17:05     ` kernel test robot
2022-01-20 17:15   ` kernel test robot
2022-01-20 17:15     ` kernel test robot
2022-01-20 13:43 ` [PATCH v4 3/9] spi: Support selection of the index of the ACPI Spi Resource before alloc Stefan Binding
2022-01-20 13:43   ` Stefan Binding
2022-01-20 15:03   ` Hans de Goede
2022-01-20 15:03     ` Hans de Goede
2022-01-20 13:43 ` [PATCH v4 4/9] spi: Add API to count spi acpi resources Stefan Binding
2022-01-20 13:43   ` Stefan Binding
2022-01-20 14:39   ` Hans de Goede
2022-01-20 14:39     ` Hans de Goede
2022-01-20 15:04   ` Hans de Goede
2022-01-20 15:04     ` Hans de Goede
2022-01-20 17:05   ` kernel test robot [this message]
2022-01-20 13:43 ` [PATCH v4 5/9] platform/x86: i2c-multi-instantiate: Rename it for a generic bus driver name Stefan Binding
2022-01-20 13:43   ` Stefan Binding
2022-01-20 15:05   ` Hans de Goede
2022-01-20 15:05     ` Hans de Goede
2022-01-20 18:34   ` Rafael J. Wysocki
2022-01-20 18:34     ` Rafael J. Wysocki
2022-01-20 18:39     ` Hans de Goede
2022-01-20 18:39       ` Hans de Goede
2022-01-20 13:43 ` [PATCH v4 6/9] platform/x86: bus-multi-instantiate: Reorganize I2C functions Stefan Binding
2022-01-20 13:43   ` Stefan Binding
2022-01-20 15:13   ` Hans de Goede
2022-01-20 15:13     ` Hans de Goede
2022-01-20 16:03   ` Hans de Goede
2022-01-20 16:03     ` Hans de Goede
2022-01-20 16:17   ` Hans de Goede
2022-01-20 16:17     ` Hans de Goede
2022-01-20 13:43 ` [PATCH v4 7/9] platform/x86: bus-multi-instantiate: Add SPI support Stefan Binding
2022-01-20 13:43   ` Stefan Binding
2022-01-20 16:30   ` Hans de Goede
2022-01-20 16:30     ` Hans de Goede
2022-01-20 13:43 ` [PATCH v4 8/9] ALSA: hda/realtek: Add support for HP Laptops Stefan Binding
2022-01-20 13:43   ` Stefan Binding
2022-01-20 15:27   ` Takashi Iwai
2022-01-20 15:27     ` Takashi Iwai
2022-01-21 14:32     ` Stefan Binding
2022-01-21 14:32       ` Stefan Binding
2022-01-21 14:39       ` Takashi Iwai
2022-01-21 14:39         ` Takashi Iwai
2022-01-20 13:43 ` [PATCH v4 9/9] ACPI / scan: Create platform device for CS35L41 Stefan Binding
2022-01-20 13:43   ` Stefan Binding
2022-01-20 16:31   ` Hans de Goede
2022-01-20 16:31     ` Hans de Goede
2022-01-20 16:34 ` [PATCH v4 0/9] Support Spi in i2c-multi-instantiate driver Hans de Goede
2022-01-20 16:34   ` Hans de Goede

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=202201210109.tNnI8P2j-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.