mirror of https://gitee.com/openkylin/linux.git
[media] dvb: negative value assigned to unsigned int in CDRXD()
In CDRXD(), Negative number is assigned to unsigned variable 'state->noise_cal.tdCal2. Members of 'SNoiseCal' should be 'signed short'. Signed-off-by: Santosh Nayak <santoshprasadnayak@gmail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
This commit is contained in:
parent
f3033aecf2
commit
3caaa20121
|
@ -101,9 +101,9 @@ struct SCfgAgc {
|
|||
|
||||
struct SNoiseCal {
|
||||
int cpOpt;
|
||||
u16 cpNexpOfs;
|
||||
u16 tdCal2k;
|
||||
u16 tdCal8k;
|
||||
short cpNexpOfs;
|
||||
short tdCal2k;
|
||||
short tdCal8k;
|
||||
};
|
||||
|
||||
enum app_env {
|
||||
|
|
Loading…
Reference in New Issue