From: kernel test robot <lkp@intel.com>
To: Laurent Vivier <laurent@vivier.eu>, linux-kernel@vger.kernel.org
Cc: kbuild-all@lists.01.org, Thomas Gleixner <tglx@linutronix.de>,
Jiaxun Yang <jiaxun.yang@flygoat.com>,
Alessandro Zummo <a.zummo@towertech.it>,
linux-m68k@lists.linux-m68k.org,
John Stultz <john.stultz@linaro.org>,
linux-rtc@vger.kernel.org, Arnd Bergmann <arnd@arndb.de>,
Daniel Lezcano <daniel.lezcano@linaro.org>,
Geert Uytterhoeven <geert@linux-m68k.org>
Subject: Re: [PATCH v6 3/4] clocksource/drivers: Add a goldfish-timer clocksource
Date: Fri, 14 Jan 2022 12:50:49 +0800 [thread overview]
Message-ID: <202201141238.HZZyqTBE-lkp@intel.com> (raw)
In-Reply-To: <20220113201920.3201760-4-laurent@vivier.eu>
Hi Laurent,
Thank you for the patch! Perhaps something to improve:
[auto build test WARNING on geert-m68k/for-next]
[also build test WARNING on linux/master v5.16]
[cannot apply to tip/timers/core linus/master next-20220113]
[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/Laurent-Vivier/m68k-Add-Virtual-M68k-Machine/20220114-042103
base: https://git.kernel.org/pub/scm/linux/kernel/git/geert/linux-m68k.git for-next
config: s390-allmodconfig (https://download.01.org/0day-ci/archive/20220114/202201141238.HZZyqTBE-lkp@intel.com/config)
compiler: s390-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/7e887e6ec0d7193083a2f0020007688db2318c76
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review Laurent-Vivier/m68k-Add-Virtual-M68k-Machine/20220114-042103
git checkout 7e887e6ec0d7193083a2f0020007688db2318c76
# 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=s390 SHELL=/bin/bash drivers/clocksource/
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 >>):
drivers/clocksource/timer-goldfish.c: In function 'goldfish_timer_init':
drivers/clocksource/timer-goldfish.c:94:20: error: implicit declaration of function 'kzalloc'; did you mean 'vzalloc'? [-Werror=implicit-function-declaration]
94 | timerdrv = kzalloc(sizeof(*timerdrv), GFP_KERNEL);
| ^~~~~~~
| vzalloc
>> drivers/clocksource/timer-goldfish.c:94:18: warning: assignment to 'struct goldfish_timer *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
94 | timerdrv = kzalloc(sizeof(*timerdrv), GFP_KERNEL);
| ^
cc1: some warnings being treated as errors
Kconfig warnings: (for reference only)
WARNING: unmet direct dependencies detected for RTC_CLASS
Depends on !S390
Selected by
- GOLDFISH_TIMER && GENERIC_CLOCKEVENTS
WARNING: unmet direct dependencies detected for RTC_DRV_GOLDFISH
Depends on RTC_CLASS && HAS_IOMEM
Selected by
- GOLDFISH_TIMER && GENERIC_CLOCKEVENTS
vim +94 drivers/clocksource/timer-goldfish.c
88
89 void __init goldfish_timer_init(int irq, void __iomem *base)
90 {
91 struct goldfish_timer *timerdrv;
92 int ret;
93
> 94 timerdrv = kzalloc(sizeof(*timerdrv), GFP_KERNEL);
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
next prev parent reply other threads:[~2022-01-14 4:51 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-01-13 20:19 [PATCH v6 0/4] m68k: Add Virtual M68k Machine Laurent Vivier
2022-01-13 20:19 ` [PATCH v6 1/4] m68k: add asm/config.h Laurent Vivier
2022-01-13 20:19 ` [PATCH v6 2/4] rtc: goldfish: use __raw_writel()/__raw_readl() Laurent Vivier
2022-01-13 21:18 ` Jiaxun Yang
2022-01-14 6:57 ` Arnd Bergmann
2022-01-14 11:07 ` John Paul Adrian Glaubitz
2022-01-13 20:19 ` [PATCH v6 3/4] clocksource/drivers: Add a goldfish-timer clocksource Laurent Vivier
2022-01-14 4:50 ` kernel test robot [this message]
2022-01-14 8:32 ` kernel test robot
2022-01-14 10:46 ` Arnd Bergmann
2022-01-14 11:03 ` Laurent Vivier
2022-01-14 11:12 ` Geert Uytterhoeven
2022-01-14 11:31 ` Laurent Vivier
2022-01-14 12:09 ` Geert Uytterhoeven
2022-01-13 20:19 ` [PATCH v6 4/4] m68k: introduce a virtual m68k machine Laurent Vivier
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=202201141238.HZZyqTBE-lkp@intel.com \
--to=lkp@intel.com \
--cc=a.zummo@towertech.it \
--cc=arnd@arndb.de \
--cc=daniel.lezcano@linaro.org \
--cc=geert@linux-m68k.org \
--cc=jiaxun.yang@flygoat.com \
--cc=john.stultz@linaro.org \
--cc=kbuild-all@lists.01.org \
--cc=laurent@vivier.eu \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-m68k@lists.linux-m68k.org \
--cc=linux-rtc@vger.kernel.org \
--cc=tglx@linutronix.de \
/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).