media: siano: fix a potential integer overflow
authorGustavo A. R. Silva <gustavo@embeddedor.com>
Wed, 20 Sep 2017 01:09:18 +0000 (21:09 -0400)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Thu, 14 Dec 2017 14:50:12 +0000 (09:50 -0500)
commit3ee6229f1a16ad80ac83f02614f46b70b7ecf666
treec16d9ce6e7ccb3c52989ea189a2e41492325777c
parent5742240577b6726104844a099598f284c75772e1
media: siano: fix a potential integer overflow

Add suffix ULL to constant 65535 in order to avoid a potential
integer overflow. This constant is used in a context that
expects an expression of type u64.

Addresses-Coverity-ID: 1056806

Signed-off-by: Gustavo A. R. Silva <gustavo@embeddedor.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/common/siano/smsdvb-main.c