The patch titled tty_io.c: keep davej sane has been removed from the -mm tree. Its filename is tty_ioc-keep-davej-sane.patch This patch was dropped because it was merged into mainline or a subsystem tree ------------------------------------------------------ Subject: tty_io.c: keep davej sane From: Alexey Dobriyan <adobriyan@xxxxxxxxx> Just comment and next "while" look _very_ wrong. Place { correctly to hint unsuspecting ones that it's the end of the loop actually. Signed-off-by: Alexey Dobriyan <adobriyan@xxxxxxxxx> Cc: Dave Jones <davej@xxxxxxxxxx> Acked-by: Alan Cox <alan@xxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxx> --- drivers/char/tty_io.c | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff -puN drivers/char/tty_io.c~tty_ioc-keep-davej-sane drivers/char/tty_io.c --- a/drivers/char/tty_io.c~tty_ioc-keep-davej-sane +++ a/drivers/char/tty_io.c @@ -483,10 +483,9 @@ int tty_insert_flip_string(struct tty_st tb->used += space; copied += space; chars += space; - } - /* There is a small chance that we need to split the data over - several buffers. If this is the case we must loop */ - while (unlikely(size > copied)); + /* There is a small chance that we need to split the data over + several buffers. If this is the case we must loop */ + } while (unlikely(size > copied)); return copied; } EXPORT_SYMBOL(tty_insert_flip_string); @@ -521,10 +520,9 @@ int tty_insert_flip_string_flags(struct copied += space; chars += space; flags += space; - } - /* There is a small chance that we need to split the data over - several buffers. If this is the case we must loop */ - while (unlikely(size > copied)); + /* There is a small chance that we need to split the data over + several buffers. If this is the case we must loop */ + } while (unlikely(size > copied)); return copied; } EXPORT_SYMBOL(tty_insert_flip_string_flags); _ Patches currently in -mm which might be from adobriyan@xxxxxxxxx are origin.patch asus_acpi-fix-proc-files-parsing.patch asus_acpi-dont-printk-on-writing-garbage-to-proc-files.patch git-dvb.patch git-ieee1394.patch config_pm=n-slim-drivers-pcmcia.patch i82092-wire-up-errors-from-pci_register_driver.patch git-serial.patch git-scsi-misc.patch megaraid-fix-warnings-when-config_proc_fs=n.patch kmemdup-introduce.patch kmemdup-some-users.patch create-fs-utimesc.patch proper-flags-type-of-spin_lock_irqsave.patch remove-null-check-in-register_nls.patch make-kmem_cache_destroy-return-void-ecryptfs.patch config_pm=n-slim-drivers-ide-pci-sc1200c.patch - To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html