summaryrefslogtreecommitdiff
path: root/net/lapb/lapb_timer.c
diff options
context:
space:
mode:
authorGeert Uytterhoeven <geert+renesas@glider.be>2015-11-13 18:56:08 +0300
committerGeert Uytterhoeven <geert+renesas@glider.be>2015-12-17 13:18:27 +0300
commit95a2703e36530c09a9416321ec21c062f3e91d01 (patch)
treed1c3fb3d9fb56308f97ea38405c78abbeb989ea5 /net/lapb/lapb_timer.c
parentf4de472ef2ff8937b04d5da9d885c78fcbd4c171 (diff)
downloadlinux-95a2703e36530c09a9416321ec21c062f3e91d01.tar.xz
serial: sh-sci: Make unsigned values in sci_baud_calc_hscif() unsigned
Move the -1 offset of br to the assignment to *brr, so br cannot become negative anymore, and update the clamp() call. Now all unsigned values in sci_baud_calc_hscif() can become unsigned. Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions