summaryrefslogtreecommitdiff
path: root/drivers/iommu
diff options
context:
space:
mode:
authorAndreas Klinger <ak@it-klinger.de>2017-04-10 20:00:01 +0300
committerJonathan Cameron <jic23@kernel.org>2017-04-14 18:54:49 +0300
commited3730c435f1a9f9559ed7762035d22d8a95adfe (patch)
tree677e87223f1e19d556faec1d463da4d1af834f29 /drivers/iommu
parent84ca8e364acb26aba3292bc113ca8ed4335380fd (diff)
downloadlinux-ed3730c435f1a9f9559ed7762035d22d8a95adfe.tar.xz
IIO: bmp280-core.c: fix error in humidity calculation
While calculating the compensation of the humidity there are negative values interpreted as unsigned because of unsigned variables used. These values as well as the constants need to be casted to signed as indicated by the documentation of the sensor. Signed-off-by: Andreas Klinger <ak@it-klinger.de> Acked-by: Linus Walleij <linus.walleij@linaro.org> Reviewed-by: Matt Ranostay <matt.ranostay@konsulko.com> Cc: <Stable@vger.kernel.org> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'drivers/iommu')
0 files changed, 0 insertions, 0 deletions