Skip to contentSkip to conversation

kernel/seccomp.c : struct seccomp_filter comment reordering

PATCH New Leif Henriksen 1 participant 1 message Apr 6, 2022 Secure computing

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 kernel/seccomp.c : struct seccomp_filter comment reordering

Swapped the @log and @cache field comment to
match the same order as the struct declaration.

---
 kernel/seccomp.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
kernel/seccomp.c +1 -1
index b5ac87f6dbd4..ad0fed6bdf9b 100644
@@ -198,8 +198,8 @@ static inline void seccomp_cache_prepare(struct seccomp_filter *sfilter)
  *	   this filter after reaching 0. The @users count is always smaller
  *	   or equal to @refs. Hence, reaching 0 for @users does not mean
  *	   the filter can be freed.
- * @cache: cache of arch/syscall mappings to actions
  * @log: true if all actions except for SECCOMP_RET_ALLOW should be logged
+ * @cache: cache of arch/syscall mappings to actions
  * @prev: points to a previously installed, or inherited, filter
  * @prog: the BPF program to evaluate
  * @notif: the struct that holds all notification related information
Signature · 1 line
2.25.1