From mboxrd@z Thu Jan 1 00:00:00 1970 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 mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 93CFBC433F5 for ; Sat, 16 Oct 2021 07:42:05 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 4753C60F44 for ; Sat, 16 Oct 2021 07:42:05 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 4753C60F44 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=Pk9HrJ8ds8JneiK3YMr1Qny5x6qD7BYpOVYDEAdLu1o=; b=FvJsZfFMLkN74a BbjHnTSQh96CbRCXwU6yRENifqXhJUA9ivkkpRI5dQMwAc5WQcNnPY11kykNfZ0lxz95ls/3kc0xs dPTLsXFK36XBG4GhhirrvY1mHFzbNDiISRAOKR2Lax9W3x02gqxeD59fpV3apsXigMZzCBmxwLGG2 NsygYgm5qHkaY/jDoyx7VvzGirPVkNvEgdiZispEzQqIAbT4HF6y7Gq8G3Sz7K91Y32deVu29Ov7m N3/nxz7arJUeWFvjGSZTg44IcdD2TFvX8I7OO85u2pz/TOW4tAShZ9gzgfiJlvRbkn+feZW74WRoJ eYhrs9Msp2VoVithbNyg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mbeIm-00A4tq-H9; Sat, 16 Oct 2021 07:40:20 +0000 Received: from mail.kernel.org ([198.145.29.99]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mbeIj-00A4s8-Bu for linux-arm-kernel@lists.infradead.org; Sat, 16 Oct 2021 07:40:19 +0000 Received: by mail.kernel.org (Postfix) with ESMTPSA id DFCAC610D1; Sat, 16 Oct 2021 07:40:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1634370016; bh=AjseRBNiL+8gW7D0eW+3auxbapp78QPhYDegRvMSpds=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=EWmR281oJmrhXn3Um1HXBDaX4T/IhWlQryURWr96dqvu5GaJcBrR+qfLcZmZWFu7n rCslP3OueWmX6Le6s0Oeoqtr1S9KhTxuKMAYf5Mzk19Ioav09I5sf47ogzEXWiKNoP 1W2qLt0icMBe7gPl6BxOfiZ0diVgSDM/69Ry7qQGplvFyCC9LmufkT8Kn0HOSvaDbe zQseUip8ZXHhzu4UrZspEa14skRuc3aQZzn8oyLx8OLUzKmmTDBqUfT3PSFxMACQST l5AaEV4ozK/hbm2ikt+Zf0rZWTYl7BBFqN1xLIOPXgI/nbo+MnfJLNFOjed5MWMlS/ MzBM1m4S7MdOQ== Date: Sat, 16 Oct 2021 15:40:10 +0800 From: Shawn Guo To: kernel test robot Cc: Lucas Stach , llvm@lists.linux.dev, kbuild-all@lists.01.org, linux-arm-kernel@lists.infradead.org, Philipp Zabel Subject: Re: [shawnguo:imx/drivers 10/12] drivers/soc/imx/imx8m-blk-ctrl.c:401:3: error: use of undeclared identifier 'IMX8MM_VPUBLK_PD_G1' Message-ID: <20211016074009.GA25810@dragon> References: <202110151646.C5aKbTIN-lkp@intel.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <202110151646.C5aKbTIN-lkp@intel.com> User-Agent: Mutt/1.9.4 (2018-02-28) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20211016_004017_486500_EA1BA618 X-CRM114-Status: GOOD ( 14.98 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Fri, Oct 15, 2021 at 04:10:51PM +0800, kernel test robot wrote: > tree: https://git.kernel.org/pub/scm/linux/kernel/git/shawnguo/linux.git imx/drivers > head: 72949f76565c9ea9f4231c977774a31d4713c386 > commit: 2684ac05a8c4d2d5c49e6c11eb6206b30a284813 [10/12] soc: imx: add i.MX8M blk-ctrl driver > config: hexagon-randconfig-r045-20211014 (attached as .config) > compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project acb3b187c4c88650a6a717a1bcb234d27d0d7f54) > 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://git.kernel.org/pub/scm/linux/kernel/git/shawnguo/linux.git/commit/?id=2684ac05a8c4d2d5c49e6c11eb6206b30a284813 > git remote add shawnguo https://git.kernel.org/pub/scm/linux/kernel/git/shawnguo/linux.git > git fetch --no-tags shawnguo imx/drivers > git checkout 2684ac05a8c4d2d5c49e6c11eb6206b30a284813 > # save the attached .config to linux build tree > mkdir build_dir > COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=hexagon SHELL=/bin/bash > > If you fix the issue, kindly add following tag as appropriate > Reported-by: kernel test robot The dependency goes via a different branch than imx/drivers, and for-next branch should be fine. Shawn > > All errors (new ones prefixed by >>): > > >> drivers/soc/imx/imx8m-blk-ctrl.c:401:3: error: use of undeclared identifier 'IMX8MM_VPUBLK_PD_G1' > [IMX8MM_VPUBLK_PD_G1] = { > ^ > >> drivers/soc/imx/imx8m-blk-ctrl.c:409:3: error: use of undeclared identifier 'IMX8MM_VPUBLK_PD_G2' > [IMX8MM_VPUBLK_PD_G2] = { > ^ > >> drivers/soc/imx/imx8m-blk-ctrl.c:417:3: error: use of undeclared identifier 'IMX8MM_VPUBLK_PD_H1' > [IMX8MM_VPUBLK_PD_H1] = { > ^ > >> drivers/soc/imx/imx8m-blk-ctrl.c:431:17: error: invalid application of 'sizeof' to an incomplete type 'const struct imx8m_blk_ctrl_domain_data []' > .num_domains = ARRAY_SIZE(imx8mm_vpu_blk_ctl_domain_data), > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > include/linux/kernel.h:44:32: note: expanded from macro 'ARRAY_SIZE' > #define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0]) + __must_be_array(arr)) > ^~~~~ > 4 errors generated. > > > vim +/IMX8MM_VPUBLK_PD_G1 +401 drivers/soc/imx/imx8m-blk-ctrl.c > > 399 > 400 static const struct imx8m_blk_ctrl_domain_data imx8mm_vpu_blk_ctl_domain_data[] = { > > 401 [IMX8MM_VPUBLK_PD_G1] = { > 402 .name = "vpublk-g1", > 403 .clk_names = (const char *[]){ "g1", }, > 404 .num_clks = 1, > 405 .gpc_name = "g1", > 406 .rst_mask = BIT(1), > 407 .clk_mask = BIT(1), > 408 }, > > 409 [IMX8MM_VPUBLK_PD_G2] = { > 410 .name = "vpublk-g2", > 411 .clk_names = (const char *[]){ "g2", }, > 412 .num_clks = 1, > 413 .gpc_name = "g2", > 414 .rst_mask = BIT(0), > 415 .clk_mask = BIT(0), > 416 }, > > 417 [IMX8MM_VPUBLK_PD_H1] = { > 418 .name = "vpublk-h1", > 419 .clk_names = (const char *[]){ "h1", }, > 420 .num_clks = 1, > 421 .gpc_name = "h1", > 422 .rst_mask = BIT(2), > 423 .clk_mask = BIT(2), > 424 }, > 425 }; > 426 > 427 static const struct imx8m_blk_ctrl_data imx8mm_vpu_blk_ctl_dev_data = { > 428 .max_reg = 0x18, > 429 .power_notifier_fn = imx8mm_vpu_power_notifier, > 430 .domains = imx8mm_vpu_blk_ctl_domain_data, > > 431 .num_domains = ARRAY_SIZE(imx8mm_vpu_blk_ctl_domain_data), > 432 }; > 433 > > --- > 0-DAY CI Kernel Test Service, Intel Corporation > https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel