All the mail mirrored from lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: Re: [PATCH v3 5/5] bus: Make remove callback return void
Date: Tue, 13 Jul 2021 19:20:16 +0800	[thread overview]
Message-ID: <202107131907.p5JDg2Es-lkp@intel.com> (raw)
In-Reply-To: <20210713074014.684791-6-u.kleine-koenig@pengutronix.de>

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

Hi "Uwe,

I love your patch! Yet something to improve:

[auto build test ERROR on e73f0f0ee7541171d89f2e2491130c7771ba58d3]

url:    https://github.com/0day-ci/linux/commits/Uwe-Kleine-K-nig/bus-Make-remove-callback-return-void/20210713-154310
base:   e73f0f0ee7541171d89f2e2491130c7771ba58d3
config: sparc64-randconfig-r036-20210713 (attached as .config)
compiler: sparc64-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/0day-ci/linux/commit/574fac06c264e69608e3c21bc6594c5b5abe1ad4
        git remote add linux-review https://github.com/0day-ci/linux
        git fetch --no-tags linux-review Uwe-Kleine-K-nig/bus-Make-remove-callback-return-void/20210713-154310
        git checkout 574fac06c264e69608e3c21bc6594c5b5abe1ad4
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=sparc64 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>

All errors (new ones prefixed by >>):

>> arch/sparc/kernel/vio.c:160:13: error: initialization of 'void (*)(struct device *)' from incompatible pointer type 'int (*)(struct device *)' [-Werror=incompatible-pointer-types]
     160 |  .remove  = vio_device_remove,
         |             ^~~~~~~~~~~~~~~~~
   arch/sparc/kernel/vio.c:160:13: note: (near initialization for 'vio_bus_type.remove')
   cc1: all warnings being treated as errors


vim +160 arch/sparc/kernel/vio.c

e53e97ce3c7119 arch/sparc64/kernel/vio.c David S. Miller           2007-07-09  153  
e53e97ce3c7119 arch/sparc64/kernel/vio.c David S. Miller           2007-07-09  154  static struct bus_type vio_bus_type = {
e53e97ce3c7119 arch/sparc64/kernel/vio.c David S. Miller           2007-07-09  155  	.name		= "vio",
33acc6db64f77a arch/sparc/kernel/vio.c   Greg Kroah-Hartman        2017-06-06  156  	.dev_groups	= vio_dev_groups,
5bde2c9be701c4 arch/sparc/kernel/vio.c   John Paul Adrian Glaubitz 2016-04-14  157  	.uevent         = vio_hotplug,
e53e97ce3c7119 arch/sparc64/kernel/vio.c David S. Miller           2007-07-09  158  	.match		= vio_bus_match,
e53e97ce3c7119 arch/sparc64/kernel/vio.c David S. Miller           2007-07-09  159  	.probe		= vio_device_probe,
e53e97ce3c7119 arch/sparc64/kernel/vio.c David S. Miller           2007-07-09 @160  	.remove		= vio_device_remove,
e53e97ce3c7119 arch/sparc64/kernel/vio.c David S. Miller           2007-07-09  161  };
e53e97ce3c7119 arch/sparc64/kernel/vio.c David S. Miller           2007-07-09  162  

---
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: 22200 bytes --]

  reply	other threads:[~2021-07-13 11:20 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-07-13  7:40 [PATCH v3 0/5] bus: Make remove callback return void Uwe Kleine-König
2021-07-13  7:40 ` Uwe Kleine-König
2021-07-13  7:40 ` Uwe Kleine-König
2021-07-13  7:40 ` Uwe Kleine-König
2021-07-13  7:40 ` [PATCH v3 1/5] PCI: endpoint: Make struct pci_epf_driver::remove " Uwe Kleine-König
2021-07-13  7:40 ` [PATCH v3 2/5] s390/cio: Make struct css_driver::remove " Uwe Kleine-König
2021-07-13  7:40 ` [PATCH v3 3/5] s390/ccwgroup: Drop if with an always false condition Uwe Kleine-König
2021-07-13  7:40 ` [PATCH v3 4/5] s390/scm: Make struct scm_driver::remove return void Uwe Kleine-König
2021-07-13  7:40 ` [PATCH v3 5/5] bus: Make remove callback " Uwe Kleine-König
2021-07-13  7:40   ` Uwe Kleine-König
2021-07-13  7:40   ` Uwe Kleine-König
2021-07-13  7:40   ` Uwe Kleine-König
2021-07-13 11:20   ` kernel test robot [this message]
2021-07-13 12:39   ` kernel test robot

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=202107131907.p5JDg2Es-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.