[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <202602032143.85yHYNk5-lkp@intel.com>
Date: Tue, 3 Feb 2026 21:36:53 +0800
From: kernel test robot <lkp@...el.com>
To: Gary Yang <gary.yang@...tech.com>, lee@...nel.org, robh@...nel.org,
krzk+dt@...nel.org, conor+dt@...nel.org, p.zabel@...gutronix.de,
peter.chen@...tech.com
Cc: oe-kbuild-all@...ts.linux.dev, devicetree@...r.kernel.org,
linux-kernel@...r.kernel.org, linux-arm-kernel@...ts.infradead.org,
cix-kernel-upstream@...tech.com, Gary Yang <gary.yang@...tech.com>
Subject: Re: [PATCH v6 2/3] reset: add Sky1 soc reset support
Hi Gary,
kernel test robot noticed the following build warnings:
[auto build test WARNING on robh/for-next]
[also build test WARNING on lee-leds/for-leds-next linus/master pza/reset/next v6.19-rc8 next-20260202]
[cannot apply to pza/imx-drm/next]
[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/Gary-Yang/dt-bindings-soc-cix-document-the-simple-mfd-syscon-on-Sky1-SoC/20260203-102331
base: https://git.kernel.org/pub/scm/linux/kernel/git/robh/linux.git for-next
patch link: https://lore.kernel.org/r/20260203022031.4075627-3-gary.yang%40cixtech.com
patch subject: [PATCH v6 2/3] reset: add Sky1 soc reset support
config: nios2-allmodconfig (https://download.01.org/0day-ci/archive/20260203/202602032143.85yHYNk5-lkp@intel.com/config)
compiler: nios2-linux-gcc (GCC) 11.5.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260203/202602032143.85yHYNk5-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/202602032143.85yHYNk5-lkp@intel.com/
All warnings (new ones prefixed by >>):
>> drivers/reset/reset-sky1-base.c:97:5: warning: no previous prototype for 'sky1_reset_common_probe' [-Wmissing-prototypes]
97 | int sky1_reset_common_probe(struct platform_device *pdev,
| ^~~~~~~~~~~~~~~~~~~~~~~
vim +/sky1_reset_common_probe +97 drivers/reset/reset-sky1-base.c
96
> 97 int sky1_reset_common_probe(struct platform_device *pdev,
98 const struct sky1_src_variant *variant)
99 {
100 struct sky1_src *sky1src;
101 struct device *dev = &pdev->dev;
102
103 sky1src = devm_kzalloc(dev, sizeof(*sky1src), GFP_KERNEL);
104 if (!sky1src)
105 return -ENOMEM;
106
107 sky1src->regmap = device_node_to_regmap(dev->parent->of_node);
108 if (IS_ERR(sky1src->regmap)) {
109 dev_err(dev, "Unable to get sky1-src regmap");
110 return PTR_ERR(sky1src->regmap);
111 }
112
113 sky1src->signals = variant->signals;
114 sky1src->rcdev.owner = THIS_MODULE;
115 sky1src->rcdev.nr_resets = variant->signals_num;
116 sky1src->rcdev.ops = &sky1_src_ops;
117 sky1src->rcdev.of_node = dev->parent->of_node;
118 sky1src->rcdev.dev = dev;
119
120 return devm_reset_controller_register(dev, &sky1src->rcdev);
121 }
122 EXPORT_SYMBOL_GPL(sky1_reset_common_probe);
123
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
Powered by blists - more mailing lists