summaryrefslogtreecommitdiff
path: root/security/selinux/hooks.c
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@s-opensource.com>2018-01-10 15:20:39 +0300
committerMauro Carvalho Chehab <mchehab@s-opensource.com>2018-01-29 15:46:46 +0300
commit81742be14b6a90c9fd0ff6eb4218bdf696ad8e46 (patch)
tree5badc0d0a1df8bd6bc733e3b09824ba4320be660 /security/selinux/hooks.c
parent4852fdca8818972d0ea5b5ce7114da628f9954a4 (diff)
downloadlinux-81742be14b6a90c9fd0ff6eb4218bdf696ad8e46.tar.xz
media: ts2020: avoid integer overflows on 32 bit machines
Before this patch, when compiled for arm32, the signal strength were reported as: Lock (0x1f) Signal= 4294908.66dBm C/N= 12.79dB Because of a 32 bit integer overflow. After it, it is properly reported as: Lock (0x1f) Signal= -58.64dBm C/N= 12.79dB Cc: stable@vger.kernel.org Fixes: 0f91c9d6bab9 ("[media] TS2020: Calculate tuner gain correctly") Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'security/selinux/hooks.c')
0 files changed, 0 insertions, 0 deletions