lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <202507261830.IirBJ9dS-lkp@intel.com>
Date: Sat, 26 Jul 2025 18:26:12 +0800
From: kernel test robot <lkp@...el.com>
To: Konrad Dybcio <konradybcio@...nel.org>,
	Bjorn Andersson <andersson@...nel.org>,
	Michael Turquette <mturquette@...libre.com>,
	Stephen Boyd <sboyd@...nel.org>, Rob Herring <robh@...nel.org>,
	Krzysztof Kozlowski <krzk@...nel.org>,
	Conor Dooley <conor+dt@...nel.org>
Cc: llvm@...ts.linux.dev, oe-kbuild-all@...ts.linux.dev,
	Marijn Suijten <marijn.suijten@...ainline.org>,
	linux-arm-msm@...r.kernel.org, linux-clk@...r.kernel.org,
	devicetree@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2 2/3] clk: qcom: Add a driver for SM8750 GPU clocks

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@...el.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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ