xen/sched: address violation of MISRA C Rule 8.2

Rule 8.2 states: "Function types shall be in prototype form with
named parameters".

The parameter name is missing from the function pointer type
that constitutes the first parameter.

No functional change.

Signed-off-by: Nicola Vetrini <nicola.vetrini@bugseng.com>
Reviewed-by: Stefano Stabellini <sstabellini@kernel.org>
Reviewed-by: Juergen Gross <jgross@suse.com>
This commit is contained in:
Nicola Vetrini authored and Stefano Stabellini committed 2025-03-03 16:14:13 -08:00
1 parent eed384e390
commit 8cc5482516
1 file changed
+1 -1
+1 -1
View File
@@ -500,7 +500,7 @@ deadline_queue_remove(struct list_head *queue, struct list_head *elem)
}
static inline bool
deadline_queue_insert(struct rt_unit * (*qelem)(struct list_head *),
deadline_queue_insert(struct rt_unit * (*qelem)(struct list_head *elem),
struct rt_unit *svc, struct list_head *elem,
struct list_head *queue)
{
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.