Re: [PATCH 6/7] coresight: stm: Move ACPI support from AMBA driver to platform driver

From: kernel test robot
Date: Sat Oct 28 2023 - 09:22:33 EST


Hi Anshuman,

kernel test robot noticed the following build warnings:

[auto build test WARNING on rafael-pm/linux-next]
[also build test WARNING on rafael-pm/acpi-bus soc/for-next atorgue-stm32/stm32-next linus/master v6.6-rc7 next-20231027]
[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/Anshuman-Khandual/coresight-replicator-Move-ACPI-support-from-AMBA-driver-to-platform-driver/20231027-153540
base: https://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git linux-next
patch link: https://lore.kernel.org/r/20231027072943.3418997-7-anshuman.khandual%40arm.com
patch subject: [PATCH 6/7] coresight: stm: Move ACPI support from AMBA driver to platform driver
config: arm-randconfig-003-20231028 (https://download.01.org/0day-ci/archive/20231028/202310282130.HCHZyX0e-lkp@xxxxxxxxx/config)
compiler: arm-linux-gnueabi-gcc (GCC) 13.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231028/202310282130.HCHZyX0e-lkp@xxxxxxxxx/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@xxxxxxxxx>
| Closes: https://lore.kernel.org/oe-kbuild-all/202310282130.HCHZyX0e-lkp@xxxxxxxxx/

All warnings (new ones prefixed by >>):

>> drivers/hwtracing/coresight/coresight-stm.c:151: warning: Function parameter or member 'pclk' not described in 'stm_drvdata'


vim +151 drivers/hwtracing/coresight/coresight-stm.c

0f5f9b6ba9e1a7 Suzuki K Poulose 2019-06-19 115
237483aa5cf431 Pratik Patel 2016-05-03 116 /**
237483aa5cf431 Pratik Patel 2016-05-03 117 * struct stm_drvdata - specifics associated to an STM component
237483aa5cf431 Pratik Patel 2016-05-03 118 * @base: memory mapped base address for this component.
237483aa5cf431 Pratik Patel 2016-05-03 119 * @atclk: optional clock for the core parts of the STM.
237483aa5cf431 Pratik Patel 2016-05-03 120 * @csdev: component vitals needed by the framework.
237483aa5cf431 Pratik Patel 2016-05-03 121 * @spinlock: only one at a time pls.
237483aa5cf431 Pratik Patel 2016-05-03 122 * @chs: the channels accociated to this STM.
237483aa5cf431 Pratik Patel 2016-05-03 123 * @stm: structure associated to the generic STM interface.
9fa3682869d4e1 James Clark 2023-04-25 124 * @mode: this tracer's mode (enum cs_mode), i.e sysFS, or disabled.
237483aa5cf431 Pratik Patel 2016-05-03 125 * @traceid: value of the current ID for this component.
237483aa5cf431 Pratik Patel 2016-05-03 126 * @write_bytes: Maximus bytes this STM can write at a time.
237483aa5cf431 Pratik Patel 2016-05-03 127 * @stmsper: settings for register STMSPER.
237483aa5cf431 Pratik Patel 2016-05-03 128 * @stmspscr: settings for register STMSPSCR.
237483aa5cf431 Pratik Patel 2016-05-03 129 * @numsp: the total number of stimulus port support by this STM.
237483aa5cf431 Pratik Patel 2016-05-03 130 * @stmheer: settings for register STMHEER.
237483aa5cf431 Pratik Patel 2016-05-03 131 * @stmheter: settings for register STMHETER.
237483aa5cf431 Pratik Patel 2016-05-03 132 * @stmhebsr: settings for register STMHEBSR.
237483aa5cf431 Pratik Patel 2016-05-03 133 */
237483aa5cf431 Pratik Patel 2016-05-03 134 struct stm_drvdata {
237483aa5cf431 Pratik Patel 2016-05-03 135 void __iomem *base;
237483aa5cf431 Pratik Patel 2016-05-03 136 struct clk *atclk;
ec77ffb6c05951 Anshuman Khandual 2023-10-27 137 struct clk *pclk;
237483aa5cf431 Pratik Patel 2016-05-03 138 struct coresight_device *csdev;
237483aa5cf431 Pratik Patel 2016-05-03 139 spinlock_t spinlock;
237483aa5cf431 Pratik Patel 2016-05-03 140 struct channel_space chs;
237483aa5cf431 Pratik Patel 2016-05-03 141 struct stm_data stm;
237483aa5cf431 Pratik Patel 2016-05-03 142 local_t mode;
237483aa5cf431 Pratik Patel 2016-05-03 143 u8 traceid;
237483aa5cf431 Pratik Patel 2016-05-03 144 u32 write_bytes;
237483aa5cf431 Pratik Patel 2016-05-03 145 u32 stmsper;
237483aa5cf431 Pratik Patel 2016-05-03 146 u32 stmspscr;
237483aa5cf431 Pratik Patel 2016-05-03 147 u32 numsp;
237483aa5cf431 Pratik Patel 2016-05-03 148 u32 stmheer;
237483aa5cf431 Pratik Patel 2016-05-03 149 u32 stmheter;
237483aa5cf431 Pratik Patel 2016-05-03 150 u32 stmhebsr;
237483aa5cf431 Pratik Patel 2016-05-03 @151 };
237483aa5cf431 Pratik Patel 2016-05-03 152

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