projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f01dd59
)
selinux: use identical iterator type in hashtab_duplicate()
author
Christian Göttsche
<cgzones@googlemail.com>
Fri, 28 Jul 2023 15:54:53 +0000
(17:54 +0200)
committer
Paul Moore
<paul@paul-moore.com>
Fri, 4 Aug 2023 02:19:56 +0000
(22:19 -0400)
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>
security/selinux/ss/hashtab.c
patch
|
blob
|
history
diff --git
a/security/selinux/ss/hashtab.c
b/security/selinux/ss/hashtab.c
index e3747b5dd3e7e5d9bb9929cbfe24c17c479db707..ac5cdddfbf783a659fbefb8b39fa2fff2cf679d8 100644
(file)
--- 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));