GrapheneOS/linux-hardened

[PATCH] remove unused softirq_action callback parameter - causes build failure on 4.17

Closed this issue · 0 comments

kernel/softirq.c: In function ‘tasklet_action’:
kernel/softirq.c:533:24: error: ‘a’ undeclared (first use in this function)
  tasklet_action_common(a, this_cpu_ptr(&tasklet_vec), TASKLET_SOFTIRQ);
                        ^
kernel/softirq.c:533:24: note: each undeclared identifier is reported only once for each function it appears in
kernel/softirq.c: In function ‘tasklet_hi_action’:
kernel/softirq.c:538:24: error: ‘a’ undeclared (first use in this function)
  tasklet_action_common(a, this_cpu_ptr(&tasklet_hi_vec), HI_SOFTIRQ);
                        ^
make[1]: *** [scripts/Makefile.build:312: kernel/softirq.o] Error 1

Reverting copperhead/linux-hardened@4c2a7c1 fixes this.

EDIT: It seems fixed for 4.16 after recent changes but still occurs for 4.17. Closing for now.