diff options
author | Kees Cook <[email protected]> | 2023-08-17 13:06:03 -0700 |
---|---|---|
committer | Kees Cook <[email protected]> | 2023-08-17 16:46:35 -0700 |
commit | c8248faf3ca276ebdf60f003b3e04bf764daba91 (patch) | |
tree | 7b5e722f0566ee64463add2593a226de47ca392b /drivers/misc/lkdtm/bugs.c | |
parent | be8dffa04de3894bad0bf31d1531a2f06353b70e (diff) |
Compiler Attributes: counted_by: Adjust name and identifier expansion
GCC and Clang's current RFCs name this attribute "counted_by", and have
moved away from using a string for the member name. Update the kernel's
macros to match. Additionally provide a UAPI no-op macro for UAPI structs
that will gain annotations.
Cc: Miguel Ojeda <[email protected]>
Cc: Nick Desaulniers <[email protected]>
Fixes: dd06e72e68bc ("Compiler Attributes: Add __counted_by macro")
Acked-by: Miguel Ojeda <[email protected]>
Reviewed-by: Nathan Chancellor <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Kees Cook <[email protected]>
Diffstat (limited to 'drivers/misc/lkdtm/bugs.c')
0 files changed, 0 insertions, 0 deletions