Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 0F054C433FE for ; Fri, 14 Jan 2022 08:33:41 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233430AbiANIdk (ORCPT ); Fri, 14 Jan 2022 03:33:40 -0500 Received: from mga05.intel.com ([192.55.52.43]:26713 "EHLO mga05.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231472AbiANIdj (ORCPT ); Fri, 14 Jan 2022 03:33:39 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1642149219; x=1673685219; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=SP5uKYsWvxtFx7YjJ4PgaYlzJmeTwx2UzB3SXbUqZS8=; b=nz5zyhE/0UhTyp5YNEZYsU02f7bWfq5XGuTVvf74+lqy/Nd6QyA8PuRo i8p50Onx7f7A9aJ5YNKqdDzubmmFKGBBAoYd/+ce077T7TuHQbDZ7HMTn XwGjLlLmrt0GyJI8zIU52sGLS32rVjNzKSwoYz9e+syKk5Hcd58yQ9m8A 7N3f0XhX4a+1NKQG2/m+eAd8fWb/8qWJKMeZKY/1cL0c/j7olDLz/NraF 2w9iV00Jg/Jh3soeYZkPNrt/CebXG5MQ/K6sx71U/awK/9kKde/PxJ4fJ /qeBACekV21itEnQOKhb9dslFsUUsYqQX4qDrhfSXMjhTRrufKJw37S4+ g==; X-IronPort-AV: E=McAfee;i="6200,9189,10226"; a="330557516" X-IronPort-AV: E=Sophos;i="5.88,288,1635231600"; d="scan'208";a="330557516" Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 14 Jan 2022 00:33:38 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.88,288,1635231600"; d="scan'208";a="529266915" Received: from lkp-server01.sh.intel.com (HELO 276f1b88eecb) ([10.239.97.150]) by fmsmga007.fm.intel.com with ESMTP; 14 Jan 2022 00:33:35 -0800 Received: from kbuild by 276f1b88eecb with local (Exim 4.92) (envelope-from ) id 1n8I1e-0008Ir-KT; Fri, 14 Jan 2022 08:33:34 +0000 Date: Fri, 14 Jan 2022 16:32:38 +0800 From: kernel test robot To: Laurent Vivier , linux-kernel@vger.kernel.org Cc: kbuild-all@lists.01.org, Thomas Gleixner , Jiaxun Yang , Alessandro Zummo , linux-m68k@lists.linux-m68k.org, John Stultz , linux-rtc@vger.kernel.org, Arnd Bergmann , Daniel Lezcano , Geert Uytterhoeven Subject: Re: [PATCH v6 3/4] clocksource/drivers: Add a goldfish-timer clocksource Message-ID: <202201141640.iSJ8IkCj-lkp@intel.com> References: <20220113201920.3201760-4-laurent@vivier.eu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220113201920.3201760-4-laurent@vivier.eu> User-Agent: Mutt/1.10.1 (2018-07-13) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Laurent, Thank you for the patch! Yet something to improve: [auto build test ERROR on geert-m68k/for-next] [also build test ERROR on linux/master v5.16] [cannot apply to tip/timers/core linus/master next-20220114] [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/202201141640.iSJ8IkCj-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/ If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot All errors (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