[PATCH 0/2] Fix a division by zero

2014-09-23 Thread Frans Klaver
Hi Greg,

Here's a couple of patches that fix a divison by zero in omap-serial.c. One's a
cleanup, the other the actual fix.

Thanks,
Frans

Frans Klaver (2):
  tty: omap-serial: pull out calculation from baud_is_mode16
  tty: omap-serial: fix a division by zero

 drivers/tty/serial/omap-serial.c | 30 ++
 1 file changed, 22 insertions(+), 8 deletions(-)

-- 
2.1.0

--
To unsubscribe from this list: send the line unsubscribe linux-omap in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: [PATCH 0/2] Fix a division by zero

2014-09-23 Thread Greg Kroah-Hartman
On Tue, Sep 23, 2014 at 09:54:38PM +0200, Frans Klaver wrote:
 Hi Greg,
 
 Here's a couple of patches that fix a divison by zero in omap-serial.c. One's 
 a
 cleanup, the other the actual fix.

So both would be needed to be backported to stable kernels?  Why not
just do the fix first, then the cleanup afterward, to make backporting
easier?

thanks,

greg k-h
--
To unsubscribe from this list: send the line unsubscribe linux-omap in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html