commit | 7c2bcc50eb25e2dab5ae413f46269ec3809b9c7b | [log] [tgz] |
---|---|---|
author | Dan Carpenter <dan.carpenter@oracle.com> | Mon Jan 13 22:05:23 2014 +0300 |
committer | chrmhoffmann <chrmhoffmann@gmail.com> | Sun Apr 05 10:19:41 2020 +0200 |
tree | b332446ac5cbc3503ccd27f7d1735223079d4a8b | |
parent | b0a87dde0722332cdd5acbe8d13888ac77f575ad [diff] |
p54: clamp properly instead of just truncating commit 608cfbe4abaf76e9d732efd7ed1cfa3998163d91 upstream. The call to clamp_t() first truncates the variable signed 8 bit and as a result, the actual clamp is a no-op. Fixes: 0d78156eef1d ('p54: improve site survey') Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: John W. Linville <linville@tuxdriver.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>