commit | 34264ae3fa22429ec4fd9151602342d1f21486eb | [log] [tgz] |
---|---|---|
author | Al Viro <viro@zeniv.linux.org.uk> | Mon Dec 16 13:45:41 2019 -0500 |
committer | Al Viro <viro@zeniv.linux.org.uk> | Fri Feb 07 14:47:52 2020 -0500 |
tree | 687392b53b9d246d3ec1193abcade23ad85186b5 | |
parent | 5eede625297f4d21dc12ea7a7418fd21672f131d [diff] |
don't bother with explicit length argument for __lookup_constant() Have the arrays of constant_table self-terminated (by NULL ->name in the final entry). Simplifies lookup_constant() and allows to reuse the search for enum params as well. Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>