GrapheneOS / linux-hardened

Minimal supplement to upstream Kernel Self Protection Project changes. Features already provided by SELinux + Yama and archs other than multiarch arm64 / x86_64 aren't in scope. Only tags have stable history. Shared IRC channel with KSPP: irc.freenode.net ##linux-hardened. Currently maintained at https://github.com/anthraxx/linux-hardened.
https://grapheneos.org/
Other
390 stars 102 forks source link

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

Closed Bernhard40 closed 6 years ago

Bernhard40 commented 6 years ago
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 https://github.com/copperhead/linux-hardened/commit/4c2a7c166bad4fc98973cd71a91ee7229f0968b8 fixes this.

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