Closed masatake closed 2 years ago
#ifdef CONFIG_PROC_FS static inline void crypto_init_proc(void) { } #else ...
void __init crypto_init_proc(void) { proc_create_seq("crypto", 0, NULL, &crypto_seq_ops); }
I expect the latter one is listed before the former one in xref buffer. The size of the definition calculated from $end - $line can be used as hints. This is applicable to functions and methods.
$end - $line
I get the idea. I think I can find time to work on this in several days.
I've implemented this. Please test.
Works fine. Thank you.
I expect the latter one is listed before the former one in xref buffer. The size of the definition calculated from
$end - $line
can be used as hints. This is applicable to functions and methods.