From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 12A3D378 for ; Tue, 4 Apr 2023 04:44:48 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id B11B9C433D2; Tue, 4 Apr 2023 04:44:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1680583488; bh=tEL9U3//mmfGtBpmCi2yPOmVSzifXkNSG20ghjFw31M=; h=In-Reply-To:References:Subject:From:Cc:To:Date:From; b=rLOu9APSbeJp+sHcN+DDy49cA+vMuhwA1zG5zBkDge9lyoG7tSZ6+wpwo3U05czo8 9bmxWevtFfdueLMMnnT745SK2fp4Gr7AKdiN0Sc5bdEsXf+hwyehih1zgcEY4106T6 r2MoEMXRIYQTwaCS7ysaFQmOlk9WK0wcTC2qccWhTUKlmHPMk2QeW4hSSOCB4+NzAW nSTdHlNuRrOH6PYCBWmUbwbNhMsdchJYMfVMJg3Jrd/JBRyEkOrptpDIjwOZY01x3y tfOChfpaKYy4rzvzE99evvFZMeTufjt/8rLRI/nh8qLoeZx3WUMS3MOLMpfPSbFRzM wSkBxMLvDOZ1A== Message-ID: <6521b4e341deec52a13ff81251213a0e.sboyd@kernel.org> Content-Type: text/plain; charset="utf-8" Precedence: bulk X-Mailing-List: oe-kbuild-all@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable In-Reply-To: <202304020649.QO2HlpD5-lkp@intel.com> References: <202304020649.QO2HlpD5-lkp@intel.com> Subject: Re: [clk:clk-mediatek 81/82] FATAL: modpost: drivers/clk/mediatek/clk-mt8188-imp_iic_wrap: sizeof(struct platform_device_id)=24 is not a modulo of the size of section __mod_platform___device_table=784. From: Stephen Boyd Cc: oe-kbuild-all@lists.linux.dev, linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Chen-Yu Tsai , AngeloGioacchino Del Regno To: Garmin.Chang , kernel test robot Date: Mon, 03 Apr 2023 21:44:46 -0700 User-Agent: alot/0.10 Quoting kernel test robot (2023-04-01 16:05:54) > tree: https://git.kernel.org/pub/scm/linux/kernel/git/clk/linux.git clk= -mediatek > head: 0d2f2cefba64729a0730ce183ad58cf3e7929b94 > commit: 1b5e5299dd35da0dff2d454826a60870237837da [81/82] clk: mediatek: A= dd MT8188 imp i2c wrapper clock support > config: parisc-randconfig-m041-20230402 (https://download.01.org/0day-ci/= archive/20230402/202304020649.QO2HlpD5-lkp@intel.com/config) > compiler: hppa-linux-gcc (GCC) 12.1.0 > reproduce (this is a W=3D1 build): > wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbi= n/make.cross -O ~/bin/make.cross > chmod +x ~/bin/make.cross > # https://git.kernel.org/pub/scm/linux/kernel/git/clk/linux.git/c= ommit/?id=3D1b5e5299dd35da0dff2d454826a60870237837da > git remote add clk https://git.kernel.org/pub/scm/linux/kernel/gi= t/clk/linux.git > git fetch --no-tags clk clk-mediatek > git checkout 1b5e5299dd35da0dff2d454826a60870237837da > # save the config file > mkdir build_dir && cp config build_dir/.config > COMPILER_INSTALL_PATH=3D$HOME/0day COMPILER=3Dgcc-12.1.0 make.cro= ss W=3D1 O=3Dbuild_dir ARCH=3Dparisc olddefconfig > COMPILER_INSTALL_PATH=3D$HOME/0day COMPILER=3Dgcc-12.1.0 make.cro= ss W=3D1 O=3Dbuild_dir ARCH=3Dparisc SHELL=3D/bin/bash >=20 > If you fix the issue, kindly add following tag where applicable > | Reported-by: kernel test robot > | Link: https://lore.kernel.org/oe-kbuild-all/202304020649.QO2HlpD5-lkp@i= ntel.com/ >=20 > All errors (new ones prefixed by >>, old ones prefixed by <<): >=20 > >> FATAL: modpost: drivers/clk/mediatek/clk-mt8188-imp_iic_wrap: sizeof(s= truct platform_device_id)=3D24 is not a modulo of the size of section __mod= _platform___device_table=3D784. > Fix definition of struct platform_device_id in mod_devicetable.h >=20 Ah, it's the wrong device table. It's 'platform' instead of 'of'. 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 1AA7FC7618D for ; Tue, 4 Apr 2023 04:45:54 +0000 (UTC) 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:Date:To:Cc:From:Subject:References: In-Reply-To:MIME-Version:Message-ID:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=K1i6/7mOb5eOjViNU5Tlzy7PnRDuk8oTHrQNPvVYgDA=; b=z8ZKg16kNHXIDC /RolEsAAveVGaLhXGP7J4pvI5TKPZdRXQmgZ52GrTbQTajfcrgMsxOtD0jPe7PDF4Pwm9Lp+AzPgf FK/LUe3kPCJByDI5GbFhKt8gtuZnG7jllcbQQNHID/CaWmwY5WA8lLBegAzXktM1k/z72E8S7usr8 A6CZNrZjr0dIlcMcNHF5WfL+TfXzHAnO6K3s+nTOcyugALHQTzrG8C/vU41ITqaQl1lM3x3uhBnoA jMS6my7qBHcQOr+w86NGaqdRWORVNZ22KNEX484l8YLpT7Yo70xz2WdcyihO7m9gwNtD3F8/pI+KN sVS36Ky3Mjma0HUB0kNg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1pjYXN-0002Pg-0k; Tue, 04 Apr 2023 04:44:53 +0000 Received: from dfw.source.kernel.org ([2604:1380:4641:c500::1]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1pjYXK-0002PG-0K for linux-arm-kernel@lists.infradead.org; Tue, 04 Apr 2023 04:44:51 +0000 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 5CB6B61617; Tue, 4 Apr 2023 04:44:49 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id B11B9C433D2; Tue, 4 Apr 2023 04:44:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1680583488; bh=tEL9U3//mmfGtBpmCi2yPOmVSzifXkNSG20ghjFw31M=; h=In-Reply-To:References:Subject:From:Cc:To:Date:From; b=rLOu9APSbeJp+sHcN+DDy49cA+vMuhwA1zG5zBkDge9lyoG7tSZ6+wpwo3U05czo8 9bmxWevtFfdueLMMnnT745SK2fp4Gr7AKdiN0Sc5bdEsXf+hwyehih1zgcEY4106T6 r2MoEMXRIYQTwaCS7ysaFQmOlk9WK0wcTC2qccWhTUKlmHPMk2QeW4hSSOCB4+NzAW nSTdHlNuRrOH6PYCBWmUbwbNhMsdchJYMfVMJg3Jrd/JBRyEkOrptpDIjwOZY01x3y tfOChfpaKYy4rzvzE99evvFZMeTufjt/8rLRI/nh8qLoeZx3WUMS3MOLMpfPSbFRzM wSkBxMLvDOZ1A== Message-ID: <6521b4e341deec52a13ff81251213a0e.sboyd@kernel.org> MIME-Version: 1.0 In-Reply-To: <202304020649.QO2HlpD5-lkp@intel.com> References: <202304020649.QO2HlpD5-lkp@intel.com> Subject: Re: [clk:clk-mediatek 81/82] FATAL: modpost: drivers/clk/mediatek/clk-mt8188-imp_iic_wrap: sizeof(struct platform_device_id)=24 is not a modulo of the size of section __mod_platform___device_table=784. From: Stephen Boyd Cc: oe-kbuild-all@lists.linux.dev, linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Chen-Yu Tsai , AngeloGioacchino Del Regno To: Garmin.Chang , kernel test robot Date: Mon, 03 Apr 2023 21:44:46 -0700 User-Agent: alot/0.10 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230403_214450_183507_C906AD05 X-CRM114-Status: GOOD ( 11.43 ) 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 Quoting kernel test robot (2023-04-01 16:05:54) > tree: https://git.kernel.org/pub/scm/linux/kernel/git/clk/linux.git clk-mediatek > head: 0d2f2cefba64729a0730ce183ad58cf3e7929b94 > commit: 1b5e5299dd35da0dff2d454826a60870237837da [81/82] clk: mediatek: Add MT8188 imp i2c wrapper clock support > config: parisc-randconfig-m041-20230402 (https://download.01.org/0day-ci/archive/20230402/202304020649.QO2HlpD5-lkp@intel.com/config) > compiler: hppa-linux-gcc (GCC) 12.1.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://git.kernel.org/pub/scm/linux/kernel/git/clk/linux.git/commit/?id=1b5e5299dd35da0dff2d454826a60870237837da > git remote add clk https://git.kernel.org/pub/scm/linux/kernel/git/clk/linux.git > git fetch --no-tags clk clk-mediatek > git checkout 1b5e5299dd35da0dff2d454826a60870237837da > # save the config file > mkdir build_dir && cp config build_dir/.config > COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=parisc olddefconfig > COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=parisc SHELL=/bin/bash > > If you fix the issue, kindly add following tag where applicable > | Reported-by: kernel test robot > | Link: https://lore.kernel.org/oe-kbuild-all/202304020649.QO2HlpD5-lkp@intel.com/ > > All errors (new ones prefixed by >>, old ones prefixed by <<): > > >> FATAL: modpost: drivers/clk/mediatek/clk-mt8188-imp_iic_wrap: sizeof(struct platform_device_id)=24 is not a modulo of the size of section __mod_platform___device_table=784. > Fix definition of struct platform_device_id in mod_devicetable.h > Ah, it's the wrong device table. It's 'platform' instead of 'of'. _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel