Re: [PATCH 1/6] pinctrl: sprd: Modify the probe function parameters

kernel test robot
2023-08-25T05:26:47Z

Hi Linhua,

kernel test robot noticed the following build warnings:

[auto build test WARNING on linusw-pinctrl/devel]
[also build test WARNING on linusw-pinctrl/for-next linus/master v6.5-rc7 next-20230824]
[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/Linhua-Xu/pinctrl-sprd-Modify-the-probe-function-parameters/20230825-113950
base: https://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-pinctrl.git devel
patch link: https://lore.kernel.org/r/20230825031826.31599-2-Linhua.xu%40unisoc.com
patch subject: [PATCH 1/6] pinctrl: sprd: Modify the probe function parameters
config: parisc-allyesconfig (https://download.01.org/0day-ci/archive/20230825/202308251318.Xng4apdW-lkp@intel.com/config)
compiler: hppa-linux-gcc (GCC) 13.2.0
reproduce: (https://download.01.org/0day-ci/archive/20230825/202308251318.Xng4apdW-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/202308251318.Xng4apdW-lkp@intel.com/

All warnings (new ones prefixed by >>):

>> drivers/pinctrl/sprd/pinctrl-sprd.c:156: warning: Function parameter or member 'common_pin_offset' not described in 'sprd_pinctrl'
>> drivers/pinctrl/sprd/pinctrl-sprd.c:156: warning: Function parameter or member 'misc_pin_offset' not described in 'sprd_pinctrl'

vim +156 drivers/pinctrl/sprd/pinctrl-sprd.c

41d32cfce1ae61 Baolin Wang 2017-08-17 141
41d32cfce1ae61 Baolin Wang 2017-08-17 142 /**
41d32cfce1ae61 Baolin Wang 2017-08-17 143 * struct sprd_pinctrl: represent the pin controller device
41d32cfce1ae61 Baolin Wang 2017-08-17 144 * @dev: pointer to the device structure
41d32cfce1ae61 Baolin Wang 2017-08-17 145 * @pctl: pointer to the pinctrl handle
41d32cfce1ae61 Baolin Wang 2017-08-17 146 * @base: base address of the controller
41d32cfce1ae61 Baolin Wang 2017-08-17 147 * @info: pointer to SoC's pins description information
41d32cfce1ae61 Baolin Wang 2017-08-17 148 */
41d32cfce1ae61 Baolin Wang 2017-08-17 149 struct sprd_pinctrl {
41d32cfce1ae61 Baolin Wang 2017-08-17 150 struct device *dev;
41d32cfce1ae61 Baolin Wang 2017-08-17 151 struct pinctrl_dev *pctl;
41d32cfce1ae61 Baolin Wang 2017-08-17 152 void __iomem *base;
41d32cfce1ae61 Baolin Wang 2017-08-17 153 struct sprd_pinctrl_soc_info *info;
435130f487a5b7 Linhua Xu 2023-08-25 154 u32 common_pin_offset;
435130f487a5b7 Linhua Xu 2023-08-25 155 u32 misc_pin_offset;
41d32cfce1ae61 Baolin Wang 2017-08-17 @156 };
41d32cfce1ae61 Baolin Wang 2017-08-17 157

--
0-DAY CI Kernel Test Service