HV: treewide: fix violations of coding guideline C-FN-09

The coding guideline gule C-FN-09 requires that 'the formal parameter name
of a function shall be consistent'. This patch fixes two places where the
formal parameters are named differently in declarations and
definitions. More specifically, the names in declarations are replaced with
those in definitions.

This patch has no semantic impact.

Tracked-On: #6776
Signed-off-by: Junjie Mao <junjie.mao@intel.com>
Acked-by: Eddie Dong <eddie.dong@intel.com>
This commit is contained in:
Junjie Mao
2021-10-29 10:45:45 +08:00
committed by wenlingz
parent fba343bd05
commit d5c137eac5
2 changed files with 5 additions and 5 deletions

View File

@@ -54,7 +54,7 @@ struct hv_timer {
* @param[in] timer Pointer to timer.
* @param[in] func irq callback if time reached.
* @param[in] priv_data func private data.
* @param[in] fire_tsc tsc deadline to interrupt.
* @param[in] timeout tsc deadline to interrupt.
* @param[in] period_in_cycle period of the periodic timer in unit of TSC cycles.
*
* @remark Don't initialize a timer twice if it has been added to the timer list
@@ -64,7 +64,7 @@ struct hv_timer {
*/
void initialize_timer(struct hv_timer *timer,
timer_handle_t func, void *priv_data,
uint64_t fire_tsc, uint64_t period_in_cycle);
uint64_t timeout, uint64_t period_in_cycle);
/**
* @brief Check a timer whether expired.