Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Andy Shevchenko and committed by
Ilpo Järvinen
a6584711 8d9ce3e5

+2 -2
+2 -2
drivers/platform/x86/intel/telemetry/core.c
··· 102 102 /** 103 103 * telemetry_update_events() - Update telemetry Configuration 104 104 * @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. 106 106 * 107 107 * This API updates the IOSS & PSS Telemetry configuration. Old config 108 108 * is overwritten. Call telemetry_reset_events when logging is over ··· 176 176 /** 177 177 * telemetry_get_eventconfig() - Returns the pss and ioss events enabled 178 178 * @pss_evtconfig: Pointer to PSS related configuration. 179 - * @pss_evtconfig: Pointer to IOSS related configuration. 179 + * @ioss_evtconfig: Pointer to IOSS related configuration. 180 180 * @pss_len: Number of u32 elements allocated for pss_evtconfig array 181 181 * @ioss_len: Number of u32 elements allocated for ioss_evtconfig array 182 182 *