]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
audit: fix typo in auditfilter.c comment
authorKieran Moy <kfatyuip@gmail.com>
Sat, 5 Jul 2025 07:48:10 +0000 (15:48 +0800)
committerPaul Moore <paul@paul-moore.com>
Mon, 11 Aug 2025 15:44:57 +0000 (11:44 -0400)
Correct the misspelling of "searching" (was "serarching")
in the function documentation for audit_update_lsm_rules.

Found via code inspection, no functional impact.

Signed-off-by: Kieran Moy <kfatyuip@gmail.com>
Signed-off-by: Paul Moore <paul@paul-moore.com>
kernel/auditfilter.c

index e3f42018ed46fa7cc31d5aeb9b5a3b11a9c03cae..4ed0e10e20b5ec916f670a51e3c9d8497032e129 100644 (file)
@@ -1440,7 +1440,7 @@ static int update_lsm_rule(struct audit_krule *r)
 }
 
 /* This function will re-initialize the lsm_rule field of all applicable rules.
- * It will traverse the filter lists serarching for rules that contain LSM
+ * It will traverse the filter lists searching for rules that contain LSM
  * specific filter fields.  When such a rule is found, it is copied, the
  * LSM field is re-initialized, and the old rule is replaced with the
  * updated rule. */