Thread (11 messages) 11 messages, 3 authors, 2021-01-19

Re: [Linux-kernel-mentees] [PATCH] checkpatch: add warning for avoiding .L prefix symbols in assembly files

From: Lukas Bulwahn <lukas.bulwahn@gmail.com>
Date: 2021-01-19 18:59:07

On Mon, Jan 18, 2021 at 8:14 PM Aditya Srivastava [off-list ref] wrote:
Local symbols prefixed with '.L' do not emit symbol table entries, as
they have special meaning for the assembler.

'.L' prefixed symbols can be used within a code region, but should be
avoided for denoting a range of code via 'SYM_*_START/END' annotations.

Add a new check to emit a warning on finding the usage of '.L' symbols
in '.S' files, if it lies within SYM_*_START/END annotation pair.

Suggested-by: Mark Brown <broonie@kernel.org>
Link: https://lore.kernel.org/lkml/20210112210154.GI4646@sirena.org.uk/ (local)
Signed-off-by: Aditya Srivastava <redacted>
---
Okay, send it out to the initial discussion group (with the standard
CCs for mentees and checkpatch) and lkml. Then we see.

Lukas
_______________________________________________
Linux-kernel-mentees mailing list
Linux-kernel-mentees@lists.linuxfoundation.org
https://lists.linuxfoundation.org/mailman/listinfo/linux-kernel-mentees
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help