aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/bpf
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@osg.samsung.com>2015-06-23 12:22:06 -0300
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>2015-06-24 08:38:30 -0300
commit5ae65db547f3a9887d4edfa2c272879a72fd4f5f (patch)
treeed6061aa01c9ff3e86d97b782a9631f3bf5c5aed /kernel/bpf
parent7fd6bd9df1868983ce59ca8fd5d796c5b63100a5 (diff)
downloadlinux-5ae65db547f3a9887d4edfa2c272879a72fd4f5f.tar.gz
[media] lmedm04: use u32 instead of u64 for relative stats
Cleanup this sparse warning: drivers/media/usb/dvb-usb-v2/lmedm04.c:302 lme2510_update_stats() warn: should '((255 - st->signal_sn - 161) * 3) << 8' be a 64 bit type? Both c_tmp and s_tmp actually stores a u16 stat. Using a u64 data there is a waste, specially on u32 archs, as 64 ints there are more expensive. So, change the types to u32 and do the typecast only when storing the result. Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'kernel/bpf')
0 files changed, 0 insertions, 0 deletions