diff options
author | Geert Uytterhoeven <geert+renesas@glider.be> | 2015-11-13 16:56:08 +0100 |
---|---|---|
committer | Geert Uytterhoeven <geert+renesas@glider.be> | 2015-12-17 11:18:27 +0100 |
commit | 95a2703e36530c09a9416321ec21c062f3e91d01 (patch) | |
tree | d1c3fb3d9fb56308f97ea38405c78abbeb989ea5 /fs/jfs | |
parent | f4de472ef2ff8937b04d5da9d885c78fcbd4c171 (diff) | |
download | op-kernel-dev-95a2703e36530c09a9416321ec21c062f3e91d01.zip op-kernel-dev-95a2703e36530c09a9416321ec21c062f3e91d01.tar.gz |
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 'fs/jfs')
0 files changed, 0 insertions, 0 deletions