[U-Boot-Users] [PATCH] Fix integer overflow warning in calc_divisor()

Wolfgang Denk wd at denx.de
Sun Jul 13 15:14:29 CEST 2008


In message <1215786255-4241-1-git-send-email-hugo.villeneuve at lyrtech.com> you wrote:
> Fix the integer overflow warning when rounding the serial
> port clock divisor value in calc_divisor().
> 
> Signed-off-by: Hugo Villeneuve <hugo.villeneuve at lyrtech.com>
> 
> ---
> 
>  drivers/serial/serial.c |   11 +++++++++--
>  1 files changed, 9 insertions(+), 2 deletions(-)

Applied, thanks, but I really wish you had kept the subject unchanged,
and ideally even threading correct.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
In C we had to code our own bugs, in C++ we can inherit them.




More information about the U-Boot mailing list