[PATCH] kernel/seccomp.c : struct seccomp_filter comment reordering

From: Leif Henriksen
Date: Tue Apr 05 2022 - 22:03:17 EST


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

Signed-off-by: Leif Henriksen <leif@xxxxxxxxxxxxxxxxx>
---
kernel/seccomp.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/kernel/seccomp.c b/kernel/seccomp.c
index b5ac87f6dbd4..ad0fed6bdf9b 100644
--- a/kernel/seccomp.c
+++ b/kernel/seccomp.c
@@ -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
--
2.25.1