summaryrefslogtreecommitdiff
path: root/scripts/lib/kdoc/kdoc_re.py
diff options
context:
space:
mode:
authorMark Rutland <mark.rutland@arm.com>2025-08-01 00:10:06 +0000
committerAlexei Starovoitov <ast@kernel.org>2025-07-31 18:23:53 -0700
commit5ccaeedb489b41ce6cb857d0de488992746be282 (patch)
tree99ccf08a22fd076dd0d43188a31c81c8452e39be /scripts/lib/kdoc/kdoc_re.py
parent13cb75730b7a8b2dc8fe32874e159b2c7b75efde (diff)
cfi: add C CFI type macro
Currently x86 and riscv open-code 4 instances of the same logic to define a u32 variable with the KCFI typeid of a given function. Replace the duplicate logic with a common macro. Signed-off-by: Mark Rutland <mark.rutland@arm.com> Co-developed-by: Maxwell Bland <mbland@motorola.com> Signed-off-by: Maxwell Bland <mbland@motorola.com> Co-developed-by: Sami Tolvanen <samitolvanen@google.com> Signed-off-by: Sami Tolvanen <samitolvanen@google.com> Tested-by: Dao Huang <huangdao1@oppo.com> Acked-by: Will Deacon <will@kernel.org> Link: https://lore.kernel.org/r/20250801001004.1859976-6-samitolvanen@google.com Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_re.py')
0 files changed, 0 insertions, 0 deletions