-
Notifications
You must be signed in to change notification settings - Fork 39
Closed
Description
This commit: torvalds/linux@f5a6604 introduced a different interface than the one used in adios.c.
block/adios.c:1336:26: error: too few arguments to function call, expected 3, have 2
1336 | eq = elevator_alloc(q, e);
| ~~~~~~~~~~~~~~ ^
block/elevator.h:165:24: note: 'elevator_alloc' declared here
165 | struct elevator_queue *elevator_alloc(struct request_queue *,
| ^ ~~~~~~~~~~~~~~~~~~~~~~~
166 | struct elevator_type *, struct elevator_tags *);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
block/adios.c:1852:19: error: incompatible function pointer types initializing 'int (*)(struct request_queue *, struct elevator_queue *)' with an expression of type 'int (struct request_queue *, struct elevator_type *)' [-Wincompatible-function-pointer-types]
1852 | .init_sched = adios_init_sched,
|
My C and kernel skills are not good enough to propose a patch set.
Metadata
Metadata
Assignees
Labels
No labels