Skip to content

Commit a658471

Browse files
andy-shevij-intel
authored andcommitted
platform/x86: intel_telemetry: Fix kernel doc descriptions
LKP found issues with a kernel doc in the driver: core.c:116: warning: Function parameter or member 'ioss_evtconfig' not described in 'telemetry_update_events' core.c:188: warning: Function parameter or member 'ioss_evtconfig' not described in 'telemetry_get_eventconfig' It looks like it were copy'n'paste typos when these descriptions had been introduced. Fix the typos. Reported-by: kernel test robot <lkp@intel.com> Closes: https://lore.kernel.org/oe-kbuild-all/202310070743.WALmRGSY-lkp@intel.com/ Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Link: https://lore.kernel.org/r/20231120150756.1661425-1-andriy.shevchenko@linux.intel.com Reviewed-by: Rajneesh Bhardwaj <irenic.rajneesh@gmail.com> Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com> Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
1 parent 8d9ce3e commit a658471

File tree

1 file changed

+2
-2
lines changed
  • drivers/platform/x86/intel/telemetry

1 file changed

+2
-2
lines changed

drivers/platform/x86/intel/telemetry/core.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ static const struct telemetry_core_ops telm_defpltops = {
102102
/**
103103
* telemetry_update_events() - Update telemetry Configuration
104104
* @pss_evtconfig: PSS related config. No change if num_evts = 0.
105-
* @pss_evtconfig: IOSS related config. No change if num_evts = 0.
105+
* @ioss_evtconfig: IOSS related config. No change if num_evts = 0.
106106
*
107107
* This API updates the IOSS & PSS Telemetry configuration. Old config
108108
* is overwritten. Call telemetry_reset_events when logging is over
@@ -176,7 +176,7 @@ EXPORT_SYMBOL_GPL(telemetry_reset_events);
176176
/**
177177
* telemetry_get_eventconfig() - Returns the pss and ioss events enabled
178178
* @pss_evtconfig: Pointer to PSS related configuration.
179-
* @pss_evtconfig: Pointer to IOSS related configuration.
179+
* @ioss_evtconfig: Pointer to IOSS related configuration.
180180
* @pss_len: Number of u32 elements allocated for pss_evtconfig array
181181
* @ioss_len: Number of u32 elements allocated for ioss_evtconfig array
182182
*

0 commit comments

Comments
 (0)