diff options
author | Christian Göttsche <cgzones@googlemail.com> | 2023-07-28 17:54:53 +0200 |
---|---|---|
committer | Paul Moore <paul@paul-moore.com> | 2023-08-04 04:19:56 +0200 |
commit | c17c55c2d1ab19db289b566bba98b53e35e5e261 (patch) | |
tree | b6c36e5a2e9aec9664633fd7f21532a589fc3978 /security/selinux/ss | |
parent | selinux: move debug functions into debug configuration (diff) | |
download | linux-c17c55c2d1ab19db289b566bba98b53e35e5e261.tar.xz linux-c17c55c2d1ab19db289b566bba98b53e35e5e261.zip |
selinux: use identical iterator type in hashtab_duplicate()
Use the identical type u32 for the loop iterator.
Signed-off-by: Christian Göttsche <cgzones@googlemail.com>
[PM: remove extra whitespace in subject]
Signed-off-by: Paul Moore <paul@paul-moore.com>
Diffstat (limited to 'security/selinux/ss')
-rw-r--r-- | security/selinux/ss/hashtab.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/security/selinux/ss/hashtab.c b/security/selinux/ss/hashtab.c index e3747b5dd3e7..ac5cdddfbf78 100644 --- a/security/selinux/ss/hashtab.c +++ b/security/selinux/ss/hashtab.c @@ -138,7 +138,8 @@ int hashtab_duplicate(struct hashtab *new, struct hashtab *orig, void *args) { struct hashtab_node *cur, *tmp, *tail; - int i, rc; + u32 i; + int rc; memset(new, 0, sizeof(*new)); |