aboutsummaryrefslogtreecommitdiff
path: root/scripts/docproc.c
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2014-01-13 22:05:23 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-03-30 21:40:30 -0700
commite78970f0d78cd83382381a6876534424f1d95da4 (patch)
treecf6dcce0971580ca4546c1e5f645212d67d6fcc3 /scripts/docproc.c
parentc502e92f7cd92bd80ac0e754842d68fe3c2601f6 (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>
Diffstat (limited to 'scripts/docproc.c')
0 files changed, 0 insertions, 0 deletions