From: kernel test robot <lkp@intel.com> To: Vladimir Oltean <vladimir.oltean@nxp.com> Cc: llvm@lists.linux.dev, 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:30:54 +0800 [thread overview] Message-ID: <202109130043.ZWB1ZSxw-lkp@intel.com> (raw) In-Reply-To: <20210912120932.993440-3-vladimir.oltean@nxp.com> [-- Attachment #1: Type: text/plain, Size: 2928 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: x86_64-randconfig-a004-20210912 (attached as .config) compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project 261cbe98c38f8c1ee1a482fe76511110e790f58a) 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=clang make.cross ARCH=x86_64 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:332:1: error: non-void function does not return a value [-Werror,-Wreturn-type] } ^ >> drivers/net/dsa/b53/b53_mmap.c:346:14: error: incompatible function pointer types initializing 'void (*)(struct platform_device *)' with an expression of type 'int (struct platform_device *)' [-Werror,-Wincompatible-function-pointer-types] .shutdown = b53_mmap_shutdown, ^~~~~~~~~~~~~~~~~ 2 errors generated. vim +332 drivers/net/dsa/b53/b53_mmap.c 323 324 static int b53_mmap_shutdown(struct platform_device *pdev) 325 { 326 struct b53_device *dev = platform_get_drvdata(pdev); 327 328 if (dev) 329 b53_switch_shutdown(dev); 330 331 platform_set_drvdata(pdev, NULL); > 332 } 333 334 static const struct of_device_id b53_mmap_of_table[] = { 335 { .compatible = "brcm,bcm3384-switch" }, 336 { .compatible = "brcm,bcm6328-switch" }, 337 { .compatible = "brcm,bcm6368-switch" }, 338 { .compatible = "brcm,bcm63xx-switch" }, 339 { /* sentinel */ }, 340 }; 341 MODULE_DEVICE_TABLE(of, b53_mmap_of_table); 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@lists.01.org [-- Attachment #2: .config.gz --] [-- Type: application/gzip, Size: 37366 bytes --]
WARNING: multiple messages have this Message-ID (diff)
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:30:54 +0800 [thread overview] Message-ID: <202109130043.ZWB1ZSxw-lkp@intel.com> (raw) In-Reply-To: <20210912120932.993440-3-vladimir.oltean@nxp.com> [-- Attachment #1: Type: text/plain, Size: 2999 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: x86_64-randconfig-a004-20210912 (attached as .config) compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project 261cbe98c38f8c1ee1a482fe76511110e790f58a) 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=clang make.cross ARCH=x86_64 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:332:1: error: non-void function does not return a value [-Werror,-Wreturn-type] } ^ >> drivers/net/dsa/b53/b53_mmap.c:346:14: error: incompatible function pointer types initializing 'void (*)(struct platform_device *)' with an expression of type 'int (struct platform_device *)' [-Werror,-Wincompatible-function-pointer-types] .shutdown = b53_mmap_shutdown, ^~~~~~~~~~~~~~~~~ 2 errors generated. vim +332 drivers/net/dsa/b53/b53_mmap.c 323 324 static int b53_mmap_shutdown(struct platform_device *pdev) 325 { 326 struct b53_device *dev = platform_get_drvdata(pdev); 327 328 if (dev) 329 b53_switch_shutdown(dev); 330 331 platform_set_drvdata(pdev, NULL); > 332 } 333 334 static const struct of_device_id b53_mmap_of_table[] = { 335 { .compatible = "brcm,bcm3384-switch" }, 336 { .compatible = "brcm,bcm6328-switch" }, 337 { .compatible = "brcm,bcm6368-switch" }, 338 { .compatible = "brcm,bcm63xx-switch" }, 339 { /* sentinel */ }, 340 }; 341 MODULE_DEVICE_TABLE(of, b53_mmap_of_table); 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: 37366 bytes --]
next prev parent reply other threads:[~2021-09-12 16:31 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 2021-09-12 16:30 ` kernel test robot [this message] 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=202109130043.ZWB1ZSxw-lkp@intel.com \ --to=lkp@intel.com \ --cc=kbuild-all@lists.01.org \ --cc=llvm@lists.linux.dev \ --cc=vladimir.oltean@nxp.com \ /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: linkBe 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.