aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/validation/parsing/attr-cleanup.c
diff options
authorDan Carpenter <dan.carpenter@linaro.org>2023-12-08 12:49:34 +0300
committerLuc Van Oostenryck <luc.vanoostenryck@gmail.com>2023-12-16 12:09:35 +0100
commit25e96501f249b27cb930a09aba5aeb33a047d14c (patch)
tree5cf657f7b256d5a05aaee7cf0a62125455915c48 /validation/parsing/attr-cleanup.c
parentdc581e62b74dafb1ef4aca1ab088e37ba6fd7c94 (diff)
downloadsparse-dev-25e96501f249b27cb930a09aba5aeb33a047d14c.tar.gz
parse: handle __cleanup__ attributehandle-cleanup-attr
The kernel has recently started using the __cleanup__ attribute. Save a pointer to cleanup function. Signed-off-by: Dan Carpenter <dan.carpenter@linaro.org> Signed-off-by: Luc Van Oostenryck <luc.vanoostenryck@gmail.com>
Diffstat (limited to 'validation/parsing/attr-cleanup.c')
-rw-r--r--validation/parsing/attr-cleanup.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/validation/parsing/attr-cleanup.c b/validation/parsing/attr-cleanup.c
index 76234276..ac64649c 100644
--- a/validation/parsing/attr-cleanup.c
+++ b/validation/parsing/attr-cleanup.c
@@ -22,7 +22,6 @@ int test(int n)
/*
* check-name: attr-cleanup
* check-command: sparse -Wunknown-attribute $file
- * check-known-to-fail
*
* check-error-start
parsing/attr-cleanup.c:10:17: error: argument is not an identifier