Re: [PATCH 3/3] clk: scmi: Support spread spectrum

kernel test robot
2025-01-24T21:33:37Z

Hi Peng,

kernel test robot noticed the following build warnings:

[auto build test WARNING on 5ffa57f6eecefababb8cbe327222ef171943b183]

url: https://github.com/intel-lab-lkp/linux/commits/Peng-Fan-OSS/clk-Introduce-clk_set_spread_spectrum/20250124-212050
base: 5ffa57f6eecefababb8cbe327222ef171943b183
patch link: https://lore.kernel.org/r/20250124-clk-ssc-v1-3-2d39f6baf2af%40nxp.com
patch subject: [PATCH 3/3] clk: scmi: Support spread spectrum
config: i386-buildonly-randconfig-005-20250125 (https://download.01.org/0day-ci/archive/20250125/202501250520.evxxfDdY-lkp@intel.com/config)
compiler: clang version 19.1.3 (https://github.com/llvm/llvm-project ab51eccf88f5321e7c60591c5546b254b6afab99)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250125/202501250520.evxxfDdY-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/202501250520.evxxfDdY-lkp@intel.com/

All warnings (new ones prefixed by >>):

>> drivers/clk/clk-scmi.c:298: warning: cannot understand function prototype: 'const char * const scmi_clk_ssc_allowlist[] = '

vim +298 drivers/clk/clk-scmi.c

286
287 /**
288 * scmi_clk_ops_alloc() - Alloc and configure clock operations
289 * @dev: A device reference for devres
290 * @feats_key: A bitmap representing the desired clk_ops capabilities
291 *
292 * Allocate and configure a proper set of clock operations depending on the
293 * specifically required SCMI clock features.
294 *
295 * Return: A pointer to the allocated and configured clk_ops on success,
296 * or NULL on allocation failure.
297 */
> 298 static const char * const scmi_clk_ssc_allowlist[] = {
299 "fsl,imx95",
300 NULL
301 };
302

--
0-DAY CI Kernel Test Service