On 21.06.2024 02:20, [email protected] wrote:
> --- a/xen/common/sched/credit2.c
> +++ b/xen/common/sched/credit2.c
> @@ -1476,7 +1476,7 @@ static inline void runq_remove(struct csched2_unit *svc)
> list_del_init(&svc->runq_elem);
> }
>
> -void burn_credits(struct csched2_runqueue_data *rqd, struct csched2_unit
> *svc,
> +static void burn_credits(struct csched2_runqueue_data *rqd, struct
> csched2_unit *svc,
> s_time_t now);
On top of Andrew's comment, please also obey to line length restrictions.
This thus needs re-wrapping, to either
static void burn_credits(struct csched2_runqueue_data *rqd,
struct csched2_unit *svc, s_time_t now);
(then matching the function definition) or
static void burn_credits(
struct csched2_runqueue_data *rqd,
struct csched2_unit *svc,
s_time_t now);
Jan