scripts: Add __deprecated_version to the checkpatch checklist
Add macro __deprecated_version to the checklists of `scripts/checkpatch.pl` and `scripts/tags.sh`. Signed-off-by: James Roy <rruuaanng@outlook.com>
This commit is contained in:
@@ -394,6 +394,7 @@ our $Attribute = qr{
|
||||
__pure|
|
||||
__noclone|
|
||||
__deprecated|
|
||||
__deprecated_version|
|
||||
__read_mostly|
|
||||
__ro_after_init|
|
||||
__kprobes|
|
||||
|
||||
@@ -1,4 +1,6 @@
|
||||
#!/bin/sh
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
# SPDX-FileCopyrightText: Copyright The Zephyr Project Contributors
|
||||
# Generate tags or cscope files
|
||||
# Usage tags.sh <mode>
|
||||
#
|
||||
@@ -58,7 +60,7 @@ exuberant()
|
||||
-I __initdata,__exitdata,__initconst, \
|
||||
-I __initdata_memblock \
|
||||
-I __refdata,__attribute,__maybe_unused,__always_unused \
|
||||
-I __acquires,__releases,__deprecated \
|
||||
-I __acquires,__releases,__deprecated,__deprecated_version \
|
||||
-I __read_mostly,__aligned,____cacheline_aligned \
|
||||
-I ____cacheline_aligned_in_smp \
|
||||
-I __cacheline_aligned,__cacheline_aligned_in_smp \
|
||||
|
||||
Reference in New Issue
Block a user