diff mbox series

tomoyo: fix small typo

Message ID 20181101155508.23383-1-tiny.windzz@gmail.com (mailing list archive)
State New, archived
Headers show
Series tomoyo: fix small typo | expand

Commit Message

Yangtao Li Nov. 1, 2018, 3:55 p.m. UTC
Signed-off-by: Yangtao Li <tiny.windzz@gmail.com>
---
 security/tomoyo/util.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Tetsuo Handa Nov. 1, 2018, 10:04 p.m. UTC | #1
On 2018/11/02 0:55, Yangtao Li wrote:
> Signed-off-by: Yangtao Li <tiny.windzz@gmail.com>

Acked-by: Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>

> ---
>  security/tomoyo/util.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/security/tomoyo/util.c b/security/tomoyo/util.c
> index d3d9d9f1edb0..badffc8271c8 100644
> --- a/security/tomoyo/util.c
> +++ b/security/tomoyo/util.c
> @@ -106,7 +106,7 @@ void tomoyo_convert_time(time64_t time64, struct tomoyo_time *stamp)
>   * @string: String representation for permissions in foo/bar/buz format.
>   * @keyword: Keyword to find from @string/
>   *
> - * Returns ture if @keyword was found in @string, false otherwise.
> + * Returns true if @keyword was found in @string, false otherwise.
>   *
>   * This function assumes that strncmp(w1, w2, strlen(w1)) != 0 if w1 != w2.
>   */
>
James Morris Nov. 5, 2018, 4:51 p.m. UTC | #2
On Fri, 2 Nov 2018, Tetsuo Handa wrote:

> On 2018/11/02 0:55, Yangtao Li wrote:
> > Signed-off-by: Yangtao Li <tiny.windzz@gmail.com>
> 
> Acked-by: Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>

Applied to
git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/linux-security.git next-general
diff mbox series

Patch

diff --git a/security/tomoyo/util.c b/security/tomoyo/util.c
index d3d9d9f1edb0..badffc8271c8 100644
--- a/security/tomoyo/util.c
+++ b/security/tomoyo/util.c
@@ -106,7 +106,7 @@  void tomoyo_convert_time(time64_t time64, struct tomoyo_time *stamp)
  * @string: String representation for permissions in foo/bar/buz format.
  * @keyword: Keyword to find from @string/
  *
- * Returns ture if @keyword was found in @string, false otherwise.
+ * Returns true if @keyword was found in @string, false otherwise.
  *
  * This function assumes that strncmp(w1, w2, strlen(w1)) != 0 if w1 != w2.
  */