Fix integer overflow warning in calc_divisor()
authorHugo Villeneuve <hugo.villeneuve@lyrtech.com>
Fri, 11 Jul 2008 14:24:15 +0000 (10:24 -0400)
committerWolfgang Denk <wd@denx.de>
Sun, 13 Jul 2008 13:13:31 +0000 (15:13 +0200)
commitef130d3093bdf88f01cf3e000fe5df249ebf2b1a
treeb04b2b5e0c0819dcf22d630d2fe9a8b7be475e76
parent6b760189d77f001684e3160b355c185ca3804961
Fix integer overflow warning in calc_divisor()

which happened when rounding the serial port clock divisor

Signed-off-by: Hugo Villeneuve <hugo.villeneuve@lyrtech.com>
drivers/serial/serial.c