From: Andrew Morton Date: Mon, 5 Mar 2007 08:30:04 +0000 (-0800) Subject: [PATCH] cyclades: return closing_wait X-Git-Tag: v2.6.21-rc3~97 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=d5dedf99e4ca9860ce8a1dd42db1cb666c360632;p=linux-2.6-omap-h63xx.git [PATCH] cyclades: return closing_wait In http://bugzilla.kernel.org/show_bug.cgi?id=8065, Shen points out that the cyclades driver forget to return closing_wait to userspace. Cc: Alan Cox Cc: Russell King Cc: Shen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/drivers/char/cyclades.c b/drivers/char/cyclades.c index 54df35527bc..16dc5d1d3cb 100644 --- a/drivers/char/cyclades.c +++ b/drivers/char/cyclades.c @@ -3501,6 +3501,7 @@ get_serial_info(struct cyclades_port *info, tmp.irq = cinfo->irq; tmp.flags = info->flags; tmp.close_delay = info->close_delay; + tmp.closing_wait = info->closing_wait; tmp.baud_base = info->baud; tmp.custom_divisor = info->custom_divisor; tmp.hub6 = 0; /*!!! */