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 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 smtp.lore.kernel.org (Postfix) with ESMTPS id 85DF4C5AE59 for ; Tue, 3 Jun 2025 22:12:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=8B3otlpWtIrCMotPSzvWNK8DK1Jj0yOZGMpx7SqqNNY=; b=FO9+IBNYLu0pt5uPE4/GDifoWj MDQeew6WC6zFzDe3jDpNvotNohebejj1IaOD4Naak/kjmXQUUAKe5ur7qMyoyJ97zsBd0oTHZoaYt jLdZ/X9/4YqlIZPvftdVe3oeMKVZGGQYtvARmI41okrRV8d74EGPDz7FyHLFKvCvzTga8b4MpRCBm uP5tZwKhwyTeUAV7GwQxB7vyxeto1c5/kEI2/IKqeAIKpxGQ0wArIuLB0GV4f82ZA9J8FryGuJj5r HkFl+WlIBYFprhkRUJ49rakfHBVMkXbWGYZDd2Y8vacZswwKWsPw/Bgm084Ys0lUF5S96IQDbhwT+ li7VpwiQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98.2 #2 (Red Hat Linux)) id 1uMZrZ-0000000BwFg-40ff; Tue, 03 Jun 2025 22:12:05 +0000 Received: from mgamail.intel.com ([192.198.163.12]) by bombadil.infradead.org with esmtps (Exim 4.98.2 #2 (Red Hat Linux)) id 1uMZpP-0000000Bvvm-2R3h; Tue, 03 Jun 2025 22:09:52 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1748988592; x=1780524592; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=S0c47ppm0drVdO4jAjCQHwJvNJsQNG50GQKepxniEQo=; b=RbjoMTCaMe0G4Qv+1L+j3wNSJQf3/AYqTjhhHAu/p2Vw6JfLXfbFWbTM bLMyb8ojt0Jg89GqzjqOs6p2oyETqkO0rLND4/kcODf6UGVO1KW7Ez7qi LUPWtld5QGaiEJNTL/Ku6PXKQ41bMfcH1G5YPTafhKbcDjTVFJ8eYP+8J svk0e3sdvINgw6Up9139KVo7OCmgv58Smky42EtXBfttD5Q8Zdhb99oT/ SFofL53OkPR+JSWCJTsRP2fAzma5Qs/bG1soGkh9D4tFdf26v/9Wqokdv nbZr9lG2q0g9OZ4uqacBGNG7iKVDKF3YibfTb4dS3Yi8JYRW4uzH5Gz46 A==; X-CSE-ConnectionGUID: 0SXM0J6iSLGP5XkKZxvj6A== X-CSE-MsgGUID: WqMREC1nSdCV+4NGqk0ZLw== X-IronPort-AV: E=McAfee;i="6700,10204,11453"; a="54840723" X-IronPort-AV: E=Sophos;i="6.16,207,1744095600"; d="scan'208";a="54840723" Received: from fmviesa002.fm.intel.com ([10.60.135.142]) by fmvoesa106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 03 Jun 2025 15:09:51 -0700 X-CSE-ConnectionGUID: uXDwbOKqSaqNgJYSUub+BQ== X-CSE-MsgGUID: pmasmQ4sQfmqqaQU15SoOg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.16,207,1744095600"; d="scan'208";a="168152739" Received: from lkp-server01.sh.intel.com (HELO e8142ee1dce2) ([10.239.97.150]) by fmviesa002.fm.intel.com with ESMTP; 03 Jun 2025 15:09:46 -0700 Received: from kbuild by e8142ee1dce2 with local (Exim 4.96) (envelope-from ) id 1uMZpH-0002kP-3D; Tue, 03 Jun 2025 22:09:43 +0000 Date: Wed, 4 Jun 2025 06:08:53 +0800 From: kernel test robot To: "irving.ch.lin" , Wim Van Sebroeck , Guenter Roeck , Krzysztof Kozlowski , Matthias Brugger , Rob Herring , Philipp Zabel , nfraprado@collabora.com Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev, angelogioacchino.delregno@collabora.com, Project_Global_Chrome_Upstream_Group@mediatek.com, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org, linux-pm@vger.kernel.org, netdev@vger.kernel.org, linux-mediatek@lists.infradead.org, Irving lin Subject: Re: [1/5] clk: mt8189: Porting driver for clk Message-ID: <202506040506.Hrl72R0Q-lkp@intel.com> References: <20250602083624.1849719-1-irving-ch.lin@mediatek.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20250602083624.1849719-1-irving-ch.lin@mediatek.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20250603_150951_661663_EC6A02B8 X-CRM114-Status: GOOD ( 14.33 ) X-BeenThere: linux-mediatek@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Linux-mediatek" Errors-To: linux-mediatek-bounces+linux-mediatek=archiver.kernel.org@lists.infradead.org Hi irving.ch.lin, kernel test robot noticed the following build errors: [auto build test ERROR on clk/clk-next] [also build test ERROR on linus/master v6.15 next-20250530] [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#_base_tree_information] url: https://github.com/intel-lab-lkp/linux/commits/irving-ch-lin/clk-mt8189-Porting-driver-for-clk/20250603-105623 base: https://git.kernel.org/pub/scm/linux/kernel/git/clk/linux.git clk-next patch link: https://lore.kernel.org/r/20250602083624.1849719-1-irving-ch.lin%40mediatek.com patch subject: [1/5] clk: mt8189: Porting driver for clk config: x86_64-allyesconfig (https://download.01.org/0day-ci/archive/20250604/202506040506.Hrl72R0Q-lkp@intel.com/config) compiler: clang version 20.1.2 (https://github.com/llvm/llvm-project 58df0ef89dd64126512e4ee27b4ac3fd8ddf6247) reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250604/202506040506.Hrl72R0Q-lkp@intel.com/reproduce) If you fix the issue in a separate patch/commit (i.e. not just a new version of the same patch/commit), kindly add following tags | Reported-by: kernel test robot | Closes: https://lore.kernel.org/oe-kbuild-all/202506040506.Hrl72R0Q-lkp@intel.com/ All errors (new ones prefixed by >>): >> drivers/clk/mediatek/clk-mt8189.c:22:10: fatal error: 'dt-bindings/clock/mt8189-clk.h' file not found 22 | #include | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1 error generated. -- >> drivers/clk/mediatek/clk-bringup.c:18:43: error: incomplete definition of type 'struct platform_device' 18 | clk_con = of_count_phandle_with_args(pdev->dev.of_node, "clocks", | ~~~~^ include/linux/of_platform.h:14:8: note: forward declaration of 'struct platform_device' 14 | struct platform_device; | ^ drivers/clk/mediatek/clk-bringup.c:22:24: error: incomplete definition of type 'struct platform_device' 22 | clk = of_clk_get(pdev->dev.of_node, i); | ~~~~^ include/linux/of_platform.h:14:8: note: forward declaration of 'struct platform_device' 14 | struct platform_device; | ^ drivers/clk/mediatek/clk-bringup.c:48:33: error: incomplete definition of type 'struct platform_device' 48 | struct device_node *node = pdev->dev.of_node; | ~~~~^ include/linux/of_platform.h:14:8: note: forward declaration of 'struct platform_device' 14 | struct platform_device; | ^ drivers/clk/mediatek/clk-bringup.c:78:44: error: incomplete definition of type 'struct platform_device' 78 | clk_probe = of_device_get_match_data(&pdev->dev); | ~~~~^ include/linux/of_platform.h:14:8: note: forward declaration of 'struct platform_device' 14 | struct platform_device; | ^ >> drivers/clk/mediatek/clk-bringup.c:84:3: error: call to undeclared function 'dev_err'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 84 | dev_err(&pdev->dev, | ^ drivers/clk/mediatek/clk-bringup.c:84:16: error: incomplete definition of type 'struct platform_device' 84 | dev_err(&pdev->dev, | ~~~~^ include/linux/of_platform.h:14:8: note: forward declaration of 'struct platform_device' 14 | struct platform_device; | ^ drivers/clk/mediatek/clk-bringup.c:86:8: error: incomplete definition of type 'struct platform_device' 86 | pdev->name, r); | ~~~~^ include/linux/of_platform.h:14:8: note: forward declaration of 'struct platform_device' 14 | struct platform_device; | ^ >> drivers/clk/mediatek/clk-bringup.c:96:31: error: variable has incomplete type 'struct platform_driver' 96 | static struct platform_driver bring_up = { | ^ drivers/clk/mediatek/clk-bringup.c:96:15: note: forward declaration of 'struct platform_driver' 96 | static struct platform_driver bring_up = { | ^ >> drivers/clk/mediatek/clk-bringup.c:106:1: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 106 | module_platform_driver(bring_up); | ^ | int >> drivers/clk/mediatek/clk-bringup.c:106:24: error: a parameter list without types is only allowed in a function definition 106 | module_platform_driver(bring_up); | ^ 10 errors generated. -- >> drivers/clk/mediatek/clk-mt8189-adsp.c:15:10: fatal error: 'dt-bindings/clock/mt8189-clk.h' file not found 15 | #include | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1 error generated. -- >> drivers/clk/mediatek/clk-mt8189-cam.c:15:10: fatal error: 'dt-bindings/clock/mt8189-clk.h' file not found 15 | #include | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1 error generated. -- >> drivers/clk/mediatek/clk-mt8189-mmsys.c:15:10: fatal error: 'dt-bindings/clock/mt8189-clk.h' file not found 15 | #include | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1 error generated. -- >> drivers/clk/mediatek/clk-mt8189-img.c:15:10: fatal error: 'dt-bindings/clock/mt8189-clk.h' file not found 15 | #include | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1 error generated. -- >> drivers/clk/mediatek/clk-mt8189-iic.c:15:10: fatal error: 'dt-bindings/clock/mt8189-clk.h' file not found 15 | #include | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1 error generated. -- >> drivers/clk/mediatek/clk-mt8189-bus.c:15:10: fatal error: 'dt-bindings/clock/mt8189-clk.h' file not found 15 | #include | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1 error generated. -- >> drivers/clk/mediatek/clk-mt8189-mdpsys.c:15:10: fatal error: 'dt-bindings/clock/mt8189-clk.h' file not found 15 | #include | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1 error generated. -- >> drivers/clk/mediatek/clk-mt8189-mfg.c:15:10: fatal error: 'dt-bindings/clock/mt8189-clk.h' file not found 15 | #include | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1 error generated. -- >> drivers/clk/mediatek/clk-mt8189-scp.c:15:10: fatal error: 'dt-bindings/clock/mt8189-clk.h' file not found 15 | #include | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1 error generated. .. vim +22 drivers/clk/mediatek/clk-mt8189.c 21 > 22 #include 23 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki