From: kernel test robot <lkp@intel.com>
To: "Uwe Kleine-König" <u.kleine-koenig@pengutronix.de>
Cc: clang-built-linux@googlegroups.com,
Ulf Hansson <ulf.hansson@linaro.org>,
kbuild-all@lists.01.org, Arnd Bergmann <arnd@arndb.de>,
linux-arm-kernel@lists.infradead.org
Subject: [arm:for-next 21/26] drivers/mailbox/arm_mhuv2.c:1129:13: error: incompatible function pointer types initializing 'void amba_device with an expression of type 'int (struct amba_device
Date: Wed, 3 Feb 2021 22:49:16 +0800 [thread overview]
Message-ID: <202102032209.ADDknDH9-lkp@intel.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 2614 bytes --]
Hi Uwe,
FYI, the error/warning still remains.
tree: git://git.armlinux.org.uk/~rmk/linux-arm.git for-next
head: d6bae7564ab1254b46ee3a3953ce1eb682a09602
commit: 3fd269e74f2feec973f45ee11d822faeda4fe284 [21/26] amba: Make the remove callback return void
config: arm64-randconfig-r006-20210202 (attached as .config)
compiler: clang version 13.0.0 (https://github.com/llvm/llvm-project 275c6af7d7f1ed63a03d05b4484413e447133269)
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
# install arm64 cross compiling tool for clang build
# apt-get install binutils-aarch64-linux-gnu
git remote add arm git://git.armlinux.org.uk/~rmk/linux-arm.git
git fetch --no-tags arm for-next
git checkout 3fd269e74f2feec973f45ee11d822faeda4fe284
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=arm64
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/mailbox/arm_mhuv2.c:1129:13: error: incompatible function pointer types initializing 'void (*)(struct amba_device *)' with an expression of type 'int (struct amba_device *)' [-Werror,-Wincompatible-function-pointer-types]
.remove = mhuv2_remove,
^~~~~~~~~~~~
1 error generated.
vim +1129 drivers/mailbox/arm_mhuv2.c
5a6338cce9f413 Viresh Kumar 2020-11-17 1122
5a6338cce9f413 Viresh Kumar 2020-11-17 1123 static struct amba_driver mhuv2_driver = {
5a6338cce9f413 Viresh Kumar 2020-11-17 1124 .drv = {
5a6338cce9f413 Viresh Kumar 2020-11-17 1125 .name = "arm-mhuv2",
5a6338cce9f413 Viresh Kumar 2020-11-17 1126 },
5a6338cce9f413 Viresh Kumar 2020-11-17 1127 .id_table = mhuv2_ids,
5a6338cce9f413 Viresh Kumar 2020-11-17 1128 .probe = mhuv2_probe,
5a6338cce9f413 Viresh Kumar 2020-11-17 @1129 .remove = mhuv2_remove,
5a6338cce9f413 Viresh Kumar 2020-11-17 1130 };
5a6338cce9f413 Viresh Kumar 2020-11-17 1131 module_amba_driver(mhuv2_driver);
5a6338cce9f413 Viresh Kumar 2020-11-17 1132
:::::: The code at line 1129 was first introduced by commit
:::::: 5a6338cce9f4133c478d3b10b300f96dd644379a mailbox: arm_mhuv2: Add driver
:::::: TO: Viresh Kumar <viresh.kumar@linaro.org>
:::::: CC: Jassi Brar <jaswinder.singh@linaro.org>
---
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: 42924 bytes --]
[-- Attachment #3: Type: text/plain, Size: 176 bytes --]
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
next reply other threads:[~2021-02-03 14:51 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-02-03 14:49 kernel test robot [this message]
-- strict thread matches above, loose matches on Subject: below --
2021-02-02 19:00 [arm:for-next 21/26] drivers/mailbox/arm_mhuv2.c:1129:13: error: incompatible function pointer types initializing 'void amba_device with an expression of type 'int (struct amba_device 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=202102032209.ADDknDH9-lkp@intel.com \
--to=lkp@intel.com \
--cc=arnd@arndb.de \
--cc=clang-built-linux@googlegroups.com \
--cc=kbuild-all@lists.01.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=u.kleine-koenig@pengutronix.de \
--cc=ulf.hansson@linaro.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).