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: [RFC PATCH net 2/5] net: dsa: be compatible with masters which unregister on shutdown
Date: Mon, 13 Sep 2021 00:17:07 +0800	[thread overview]
Message-ID: <202109130055.9mDIf0od-lkp@intel.com> (raw)
In-Reply-To: <20210912120932.993440-3-vladimir.oltean@nxp.com>

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

Hi Vladimir,

[FYI, it's a private test report for your RFC patch.]
[auto build test ERROR on net/master]

url:    https://github.com/0day-ci/linux/commits/Vladimir-Oltean/Make-DSA-switch-drivers-compatible-with-masters-which-unregister-on-shutdown/20210912-201056
base:   https://git.kernel.org/pub/scm/linux/kernel/git/davem/net.git f11ee2ad25b22c2ee587045dd6999434375532f7
config: xtensa-allyesconfig (attached as .config)
compiler: xtensa-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/535bb691a9ce71ade9ad1ce5a5fdae8c2fd46e27
        git remote add linux-review https://github.com/0day-ci/linux
        git fetch --no-tags linux-review Vladimir-Oltean/Make-DSA-switch-drivers-compatible-with-masters-which-unregister-on-shutdown/20210912-201056
        git checkout 535bb691a9ce71ade9ad1ce5a5fdae8c2fd46e27
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross ARCH=xtensa 

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 >>):

   drivers/net/dsa/b53/b53_mmap.c: In function 'b53_mmap_shutdown':
   drivers/net/dsa/b53/b53_mmap.c:332:1: error: no return statement in function returning non-void [-Werror=return-type]
     332 | }
         | ^
   drivers/net/dsa/b53/b53_mmap.c: At top level:
>> drivers/net/dsa/b53/b53_mmap.c:346:21: error: initialization of 'void (*)(struct platform_device *)' from incompatible pointer type 'int (*)(struct platform_device *)' [-Werror=incompatible-pointer-types]
     346 |         .shutdown = b53_mmap_shutdown,
         |                     ^~~~~~~~~~~~~~~~~
   drivers/net/dsa/b53/b53_mmap.c:346:21: note: (near initialization for 'b53_mmap_driver.shutdown')
   cc1: all warnings being treated as errors


vim +346 drivers/net/dsa/b53/b53_mmap.c

   342	
   343	static struct platform_driver b53_mmap_driver = {
   344		.probe = b53_mmap_probe,
   345		.remove = b53_mmap_remove,
 > 346		.shutdown = b53_mmap_shutdown,
   347		.driver = {
   348			.name = "b53-switch",
   349			.of_match_table = b53_mmap_of_table,
   350		},
   351	};
   352	

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

  parent reply	other threads:[~2021-09-12 16:17 UTC|newest]

Thread overview: 60+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-09-12 12:09 [RFC PATCH net 0/5] Make DSA switch drivers compatible with masters which unregister on shutdown Vladimir Oltean
2021-09-12 12:09 ` Vladimir Oltean
2021-09-12 12:09 ` Vladimir Oltean
2021-09-12 12:09 ` [RFC PATCH net 1/5] net: mdio: introduce a shutdown method to mdio device drivers Vladimir Oltean
2021-09-12 12:09   ` Vladimir Oltean
2021-09-12 12:09   ` Vladimir Oltean
2021-09-12 16:14   ` Florian Fainelli
2021-09-12 16:14     ` Florian Fainelli
2021-09-12 16:14     ` Florian Fainelli
2021-09-13 13:10   ` Andrew Lunn
2021-09-13 13:10     ` Andrew Lunn
2021-09-13 13:10     ` Andrew Lunn
2021-09-12 12:09 ` [RFC PATCH net 2/5] net: dsa: be compatible with masters which unregister on shutdown Vladimir Oltean
2021-09-12 12:09   ` Vladimir Oltean
2021-09-12 12:09   ` Vladimir Oltean
2021-09-12 13:18   ` Vladimir Oltean
2021-09-12 13:18     ` Vladimir Oltean
2021-09-12 13:18     ` Vladimir Oltean
2021-09-13 13:23     ` Andrew Lunn
2021-09-13 13:23       ` Andrew Lunn
2021-09-13 13:23       ` Andrew Lunn
2021-09-13 13:31       ` Vladimir Oltean
2021-09-13 13:31         ` Vladimir Oltean
2021-09-13 13:31         ` Vladimir Oltean
2021-09-13 13:34         ` Andrew Lunn
2021-09-13 13:34           ` Andrew Lunn
2021-09-13 13:34           ` Andrew Lunn
2021-09-14  1:30         ` Andrew Lunn
2021-09-14  1:30           ` Andrew Lunn
2021-09-14  1:30           ` Andrew Lunn
2021-09-12 16:17   ` kernel test robot [this message]
2021-09-12 16:30   ` kernel test robot
2021-09-12 16:30     ` kernel test robot
2021-09-13 16:56   ` Florian Fainelli
2021-09-13 16:56     ` Florian Fainelli
2021-09-13 16:56     ` Florian Fainelli
2021-09-12 12:09 ` [RFC PATCH net 3/5] net: dsa: hellcreek: " Vladimir Oltean
2021-09-12 12:09   ` Vladimir Oltean
2021-09-12 12:09   ` Vladimir Oltean
2021-09-13 16:50   ` Florian Fainelli
2021-09-13 16:50     ` Florian Fainelli
2021-09-13 16:50     ` Florian Fainelli
2021-09-14  8:08   ` Kurt Kanzenbach
2021-09-14  8:08     ` Kurt Kanzenbach
2021-09-14  8:08     ` Kurt Kanzenbach
2021-09-12 12:09 ` [RFC PATCH net 4/5] net: dsa: microchip: ksz8863: " Vladimir Oltean
2021-09-12 12:09   ` Vladimir Oltean
2021-09-12 12:09   ` Vladimir Oltean
2021-09-13 16:51   ` Florian Fainelli
2021-09-13 16:51     ` Florian Fainelli
2021-09-13 16:51     ` Florian Fainelli
2021-09-12 12:09 ` [RFC PATCH net 5/5] net: dsa: xrs700x: " Vladimir Oltean
2021-09-12 12:09   ` Vladimir Oltean
2021-09-12 12:09   ` Vladimir Oltean
2021-09-13 13:38   ` George McCollister
2021-09-13 13:38     ` George McCollister
2021-09-13 13:38     ` George McCollister
2021-09-13 16:51   ` Florian Fainelli
2021-09-13 16:51     ` Florian Fainelli
2021-09-13 16:51     ` Florian Fainelli

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=202109130055.9mDIf0od-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.