Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
LU-5160 build: warn on deprecated CFS_LIST_HEAD uses
[fs/lustre-release.git]
/
contrib
/
scripts
/
checkpatch.pl
diff --git
a/contrib/scripts/checkpatch.pl
b/contrib/scripts/checkpatch.pl
index
893619f
..
b91310a
100755
(executable)
--- a/
contrib/scripts/checkpatch.pl
+++ b/
contrib/scripts/checkpatch.pl
@@
-404,7
+404,7
@@
my %dep_functions = (
'cfs_inode_t', 'struct inode',
'CFS_INIT_LIST_HEAD', 'INIT_LIST_HEAD',
'cfs_inode_t', 'struct inode',
'CFS_INIT_LIST_HEAD', 'INIT_LIST_HEAD',
- 'CFS_LIST_HEAD', '
LIST_HEAD
',
+ 'CFS_LIST_HEAD', '
struct list_head foo = LIST_HEAD_INIT(foo);
',
'CFS_LIST_HEAD_INIT', 'LIST_HEAD_INIT',
'cfs_list_add', 'list_add',
'cfs_list_add_tail', 'list_add_tail',
'CFS_LIST_HEAD_INIT', 'LIST_HEAD_INIT',
'cfs_list_add', 'list_add',
'cfs_list_add_tail', 'list_add_tail',