summaryrefslogtreecommitdiff
path: root/.rustfmt.toml
diff options
context:
space:
mode:
authorClément Léger <cleger@rivosinc.com>2023-10-24 15:26:51 +0200
committerPalmer Dabbelt <palmer@rivosinc.com>2023-11-06 09:42:05 -0800
commitb18f7296fbfdb2ad0871f00f3042fc74663d52ac (patch)
tree369db0c89beaa06d6aee736f0fb91d473c2292af /.rustfmt.toml
parent57a4542cb7c9baa1509c3366b57a08d75b212ead (diff)
downloadlwn-b18f7296fbfdb2ad0871f00f3042fc74663d52ac.tar.gz
lwn-b18f7296fbfdb2ad0871f00f3042fc74663d52ac.zip
riscv: use ".L" local labels in assembly when applicable
For the sake of coherency, use local labels in assembly when applicable. This also avoid kprobes being confused when applying a kprobe since the size of function is computed by checking where the next visible symbol is located. This might end up in computing some function size to be way shorter than expected and thus failing to apply kprobes to the specified offset. Signed-off-by: Clément Léger <cleger@rivosinc.com> Reviewed-by: Andrew Jones <ajones@ventanamicro.com> Link: https://lore.kernel.org/r/20231024132655.730417-2-cleger@rivosinc.com Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
Diffstat (limited to '.rustfmt.toml')
0 files changed, 0 insertions, 0 deletions