2021-03-31 03:19:33

by Gaosheng Cui

[permalink] [raw]
Subject: [PATCH -next] seccomp: Fix a typo in seccomp.c

Do a trivial typo fix.
s/cachable/cacheable

Reported-by: Hulk Robot <[email protected]>
Signed-off-by: Cui GaoSheng <[email protected]>
---
kernel/seccomp.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/kernel/seccomp.c b/kernel/seccomp.c
index 1d60fc2c9987..1e63db4dbd9a 100644
--- a/kernel/seccomp.c
+++ b/kernel/seccomp.c
@@ -817,7 +817,7 @@ static void seccomp_cache_prepare_bitmap(struct seccomp_filter *sfilter,
}

/**
- * seccomp_cache_prepare - emulate the filter to find cachable syscalls
+ * seccomp_cache_prepare - emulate the filter to find cacheable syscalls
* @sfilter: The seccomp filter
*
* Returns 0 if successful or -errno if error occurred.
--
2.30.0


2021-03-31 05:48:03

by Kees Cook

[permalink] [raw]
Subject: Re: [PATCH -next] seccomp: Fix a typo in seccomp.c

On Tue, 30 Mar 2021 23:07:24 -0400, Cui GaoSheng wrote:
> Do a trivial typo fix.
> s/cachable/cacheable

Applied to for-next/seccomp, thanks!

[1/1] seccomp: Fix "cacheable" typo in comments
https://git.kernel.org/kees/c/a3fc712c5b37

--
Kees Cook