All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Konrad Dybcio <konradybcio@kernel.org>,
	Bjorn Andersson <andersson@kernel.org>,
	Michael Turquette <mturquette@baylibre.com>,
	Stephen Boyd <sboyd@kernel.org>, Rob Herring <robh@kernel.org>,
	Krzysztof Kozlowski <krzk@kernel.org>,
	Conor Dooley <conor+dt@kernel.org>
Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev,
	Marijn Suijten <marijn.suijten@somainline.org>,
	linux-arm-msm@vger.kernel.org, linux-clk@vger.kernel.org,
	devicetree@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH v2 2/3] clk: qcom: Add a driver for SM8750 GPU clocks
Date: Sat, 26 Jul 2025 18:26:12 +0800	[thread overview]
Message-ID: <202507261830.IirBJ9dS-lkp@intel.com> (raw)
In-Reply-To: <20250723-topic-8750_gpucc-v2-2-56c93b84c390@oss.qualcomm.com>

Hi Konrad,

kernel test robot noticed the following build errors:

[auto build test ERROR on 0be23810e32e6d0a17df7c0ebad895ba2c210fc4]

url:    https://github.com/intel-lab-lkp/linux/commits/Konrad-Dybcio/dt-bindings-clock-qcom-Add-SM8750-GPU-clocks/20250724-044303
base:   0be23810e32e6d0a17df7c0ebad895ba2c210fc4
patch link:    https://lore.kernel.org/r/20250723-topic-8750_gpucc-v2-2-56c93b84c390%40oss.qualcomm.com
patch subject: [PATCH v2 2/3] clk: qcom: Add a driver for SM8750 GPU clocks
config: s390-allmodconfig (https://download.01.org/0day-ci/archive/20250726/202507261830.IirBJ9dS-lkp@intel.com/config)
compiler: clang version 18.1.8 (https://github.com/llvm/llvm-project 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250726/202507261830.IirBJ9dS-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 <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202507261830.IirBJ9dS-lkp@intel.com/

All errors (new ones prefixed by >>):

>> drivers/clk/qcom/gpucc-sm8750.c:521:1: error: redefinition of '__inittest'
     521 | module_platform_driver(gx_cc_sm8750_driver);
         | ^
   include/linux/platform_device.h:292:2: note: expanded from macro 'module_platform_driver'
     292 |         module_driver(__platform_driver, platform_driver_register, \
         |         ^
   include/linux/device/driver.h:261:3: note: expanded from macro 'module_driver'
     261 | } \
         |   ^
   include/linux/module.h:132:42: note: expanded from macro '\
   module_init'
     132 |         static inline initcall_t __maybe_unused __inittest(void)                \
         |                                                 ^
   drivers/clk/qcom/gpucc-sm8750.c:469:1: note: previous definition is here
     469 | module_platform_driver(gpu_cc_sm8750_driver);
         | ^
   include/linux/platform_device.h:292:2: note: expanded from macro 'module_platform_driver'
     292 |         module_driver(__platform_driver, platform_driver_register, \
         |         ^
   include/linux/device/driver.h:261:3: note: expanded from macro 'module_driver'
     261 | } \
         |   ^
   include/linux/module.h:132:42: note: expanded from macro '\
   module_init'
     132 |         static inline initcall_t __maybe_unused __inittest(void)                \
         |                                                 ^
>> drivers/clk/qcom/gpucc-sm8750.c:521:1: error: redefinition of 'init_module'
     521 | module_platform_driver(gx_cc_sm8750_driver);
         | ^
   include/linux/platform_device.h:292:2: note: expanded from macro 'module_platform_driver'
     292 |         module_driver(__platform_driver, platform_driver_register, \
         |         ^
   include/linux/device/driver.h:261:3: note: expanded from macro 'module_driver'
     261 | } \
         |   ^
   include/linux/module.h:134:6: note: expanded from macro '\
   module_init'
     134 |         int init_module(void) __copy(initfn)                    \
         |             ^
   drivers/clk/qcom/gpucc-sm8750.c:469:1: note: previous definition is here
     469 | module_platform_driver(gpu_cc_sm8750_driver);
         | ^
   include/linux/platform_device.h:292:2: note: expanded from macro 'module_platform_driver'
     292 |         module_driver(__platform_driver, platform_driver_register, \
         |         ^
   include/linux/device/driver.h:261:3: note: expanded from macro 'module_driver'
     261 | } \
         |   ^
   include/linux/module.h:134:6: note: expanded from macro '\
   module_init'
     134 |         int init_module(void) __copy(initfn)                    \
         |             ^
>> drivers/clk/qcom/gpucc-sm8750.c:521:1: error: redefinition of '__exittest'
     521 | module_platform_driver(gx_cc_sm8750_driver);
         | ^
   include/linux/platform_device.h:292:2: note: expanded from macro 'module_platform_driver'
     292 |         module_driver(__platform_driver, platform_driver_register, \
         |         ^
   include/linux/device/driver.h:266:3: note: expanded from macro 'module_driver'
     266 | } \
         |   ^
   include/linux/module.h:140:42: note: expanded from macro '\
   module_exit'
     140 |         static inline exitcall_t __maybe_unused __exittest(void)                \
         |                                                 ^
   drivers/clk/qcom/gpucc-sm8750.c:469:1: note: previous definition is here
     469 | module_platform_driver(gpu_cc_sm8750_driver);
         | ^
   include/linux/platform_device.h:292:2: note: expanded from macro 'module_platform_driver'
     292 |         module_driver(__platform_driver, platform_driver_register, \
         |         ^
   include/linux/device/driver.h:266:3: note: expanded from macro 'module_driver'
     266 | } \
         |   ^
   include/linux/module.h:140:42: note: expanded from macro '\
   module_exit'
     140 |         static inline exitcall_t __maybe_unused __exittest(void)                \
         |                                                 ^
>> drivers/clk/qcom/gpucc-sm8750.c:521:1: error: redefinition of 'cleanup_module'
     521 | module_platform_driver(gx_cc_sm8750_driver);
         | ^
   include/linux/platform_device.h:292:2: note: expanded from macro 'module_platform_driver'
     292 |         module_driver(__platform_driver, platform_driver_register, \
         |         ^
   include/linux/device/driver.h:266:3: note: expanded from macro 'module_driver'
     266 | } \
         |   ^
   include/linux/module.h:142:7: note: expanded from macro '\
   module_exit'
     142 |         void cleanup_module(void) __copy(exitfn)                \
         |              ^
   drivers/clk/qcom/gpucc-sm8750.c:469:1: note: previous definition is here
     469 | module_platform_driver(gpu_cc_sm8750_driver);
         | ^
   include/linux/platform_device.h:292:2: note: expanded from macro 'module_platform_driver'
     292 |         module_driver(__platform_driver, platform_driver_register, \
         |         ^
   include/linux/device/driver.h:266:3: note: expanded from macro 'module_driver'
     266 | } \
         |   ^
   include/linux/module.h:142:7: note: expanded from macro '\
   module_exit'
     142 |         void cleanup_module(void) __copy(exitfn)                \
         |              ^
   4 errors generated.


vim +/__inittest +521 drivers/clk/qcom/gpucc-sm8750.c

   513	
   514	static struct platform_driver gx_cc_sm8750_driver = {
   515		.probe = gx_cc_sm8750_probe,
   516		.driver = {
   517			.name = "gx_cc-sm8750",
   518			.of_match_table = gx_cc_sm8750_match_table,
   519		},
   520	};
 > 521	module_platform_driver(gx_cc_sm8750_driver);
   522	

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

  reply	other threads:[~2025-07-26 10:26 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-07-23 20:38 [PATCH v2 0/3] SM8750 GPU clocks Konrad Dybcio
2025-07-23 20:38 ` [PATCH v2 1/3] dt-bindings: clock: qcom: Add " Konrad Dybcio
2025-07-24  8:18   ` Krzysztof Kozlowski
2025-07-24 10:53     ` Konrad Dybcio
2025-07-24 14:42       ` Krzysztof Kozlowski
2025-07-25  9:23         ` Konrad Dybcio
2025-07-28  5:05           ` Krzysztof Kozlowski
2025-07-28  9:24             ` Konrad Dybcio
2025-07-25  9:30     ` Konrad Dybcio
2025-07-28  5:01       ` Krzysztof Kozlowski
2025-07-28 11:02         ` Konrad Dybcio
2025-07-28 12:15           ` Konrad Dybcio
2025-07-31 15:05   ` Krzysztof Kozlowski
2025-07-23 20:38 ` [PATCH v2 2/3] clk: qcom: Add a driver for " Konrad Dybcio
2025-07-26 10:26   ` kernel test robot [this message]
2025-07-23 20:38 ` [PATCH v2 3/3] arm64: dts: qcom: sm8750: Add GPU clock & IOMMU nodes Konrad Dybcio
2025-07-24  8:21   ` Krzysztof Kozlowski

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=202507261830.IirBJ9dS-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=andersson@kernel.org \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=konradybcio@kernel.org \
    --cc=krzk@kernel.org \
    --cc=linux-arm-msm@vger.kernel.org \
    --cc=linux-clk@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=llvm@lists.linux.dev \
    --cc=marijn.suijten@somainline.org \
    --cc=mturquette@baylibre.com \
    --cc=oe-kbuild-all@lists.linux.dev \
    --cc=robh@kernel.org \
    --cc=sboyd@kernel.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.