3 ms·
This is the full patchset: https://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git/diff/?h=riscv-for-linus-6.17-mw1&id2=89be9a83ccf1f88522317ce02f854f30
by nneonneo 1y ago
This is the full patchset: https://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git/diff/?h=riscv-for-linus-6.17-mw1&id2=89be9a83ccf1f88522317ce02f854f30d6115c41 https://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux....
The offending macros are defined in include/linux/wordpart.h: https://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git/diff/include/linux/wordpart.h?h=riscv-for-linus-6.17-mw1&id2=89be9a83ccf1f88522317ce02f854f30d6115c41 https://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux....
I'd generally agree with Linus that these are confusing to use. It's not clear if you would pass (hi, lo) or (lo, hi) without looking at the definition of the macro; all of the other macros in that function are very clear about what they will produce.