Commit da1bb4ed authored by Julia Lawall's avatar Julia Lawall Committed by Greg Kroah-Hartman

tty: fix typos in comments

Spelling mistakes (triple letters) in comments.
Detected with the help of Coccinelle.
Signed-off-by: default avatarJulia Lawall <Julia.Lawall@inria.fr>
Link: https://lore.kernel.org/r/20220521111145.81697-95-Julia.Lawall@inria.frSigned-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent f2906aa8
...@@ -1222,7 +1222,7 @@ static void kgdbfdc_push_one(void) ...@@ -1222,7 +1222,7 @@ static void kgdbfdc_push_one(void)
/* Construct a word from any data in buffer */ /* Construct a word from any data in buffer */
word = mips_ejtag_fdc_encode(bufs, &kgdbfdc_wbuflen, 1); word = mips_ejtag_fdc_encode(bufs, &kgdbfdc_wbuflen, 1);
/* Relocate any remaining data to beginnning of buffer */ /* Relocate any remaining data to beginning of buffer */
kgdbfdc_wbuflen -= word.bytes; kgdbfdc_wbuflen -= word.bytes;
for (i = 0; i < kgdbfdc_wbuflen; ++i) for (i = 0; i < kgdbfdc_wbuflen; ++i)
kgdbfdc_wbuf[i] = kgdbfdc_wbuf[i + word.bytes]; kgdbfdc_wbuf[i] = kgdbfdc_wbuf[i + word.bytes];
......
...@@ -1663,7 +1663,7 @@ void tty_kclose(struct tty_struct *tty) ...@@ -1663,7 +1663,7 @@ void tty_kclose(struct tty_struct *tty)
*/ */
tty_ldisc_release(tty); tty_ldisc_release(tty);
/* Wait for pending work before tty destruction commmences */ /* Wait for pending work before tty destruction commences */
tty_flush_works(tty); tty_flush_works(tty);
tty_debug_hangup(tty, "freeing structure\n"); tty_debug_hangup(tty, "freeing structure\n");
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment