commit | ecb2df0444f10bd21dbdd1220cbe353655cab5cc | [log] [tgz] |
---|---|---|
author | Yong Cong Sin <ycsin@meta.com> | Fri Nov 24 11:15:53 2023 +0800 |
committer | Fabio Baltieri <fabio.baltieri@gmail.com> | Fri Nov 24 09:27:39 2023 +0000 |
tree | 8dafe617c1cf3eaf9da7b0e7326b438a98053914 | |
parent | 13f3c6d0bda59855b8928fb510cb1cd3687c4dce [diff] |
scripts/checkpatch: add `__unused` to the `$Attribute` list Add `__unused` to the `$Attribute` family along with its `__maybe_unused`, `__always_unused` & `__used` brothers, so that: ```c __unused int ret; ``` is recognized as variable declaration, and doesn't raise `LINE_SPACING` warning in CI. Signed-off-by: Yong Cong Sin <ycsin@meta.com>