Re: [PATCH v2 1/2] treewide: remove unused address argument from pte_alloc functions

From
Julia Lawall <hidden>
Date
2018-10-12 16:39:05
Also in
kvmarm, linux-alpha, linux-m68k, linux-mips, linux-mm, linux-riscv, linux-s390, linux-um
Reply to
Joel Fernandes, 2018-10-12
I wrote something like this as below but it failed to compile, Julia any
suggestions on how to express this?

@pte_alloc_func_proto depends on patch exists@
type T1, T2, T3, T4;
identifier fn =~
"^(__pte_alloc|pte_alloc_one|pte_alloc|__pte_alloc_kernel|pte_alloc_one_kernel)$";
@@

(
- T3 fn(T1, T2);
+ T3 fn(T1);
|
- T3 fn(T1, T2, T4);
+ T3 fn(T1, T2);
)
What goes wrong?  It seems fine to me.

julia
Thread (38 messages) 38 messages, 9 authors, last reply 2018-10-16
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help