[Linux-kernel-mentees] [PATCH] checkpatch: add warning for avoiding .L prefix symbols in assembly files
lukas.bulwahn at gmail.com
Tue Jan 19 16:32:53 UTC 2021
On Mon, Jan 18, 2021 at 8:14 PM Aditya Srivastava <yashsri421 at gmail.com> 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 at kernel.org>
> Link: https://lore.kernel.org/lkml/20210112210154.GI4646@sirena.org.uk/
> Signed-off-by: Aditya Srivastava <yashsri421 at gmail.com>
Okay, send it out to the initial discussion group (with the standard
CCs for mentees and checkpatch) and lkml. Then we see.
More information about the Linux-kernel-mentees