From: Dan Carpenter Date: Mon, 13 Jan 2014 19:05:23 +0000 (+0300) Subject: p54: clamp properly instead of just truncating X-Git-Tag: v3.14-rc1~94^2~113^2^2~19 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=608cfbe4abaf76e9d732efd7ed1cfa3998163d91;p=pandora-kernel.git p54: clamp properly instead of just truncating 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 Signed-off-by: John W. Linville --- Reading git-diff-tree failed