diff options
author | Santosh Nayak <santoshprasadnayak@gmail.com> | 2012-03-06 21:41:03 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2012-03-19 13:39:14 -0400 |
commit | 3caaa20121495145cd8fef274d6eea5d90ee7182 (patch) | |
tree | f5486972d663ef9b6c1e62cde6355c730e59a81b /drivers/media/dvb | |
parent | f3033aecf2341a4e2669c63ed78a190a1c3e7a3a (diff) |
[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>
Diffstat (limited to 'drivers/media/dvb')
-rw-r--r-- | drivers/media/dvb/frontends/drxd_hard.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/media/dvb/frontends/drxd_hard.c b/drivers/media/dvb/frontends/drxd_hard.c index 7bf39cda83c5..f380eb43e9d5 100644 --- a/drivers/media/dvb/frontends/drxd_hard.c +++ b/drivers/media/dvb/frontends/drxd_hard.c | |||
@@ -101,9 +101,9 @@ struct SCfgAgc { | |||
101 | 101 | ||
102 | struct SNoiseCal { | 102 | struct SNoiseCal { |
103 | int cpOpt; | 103 | int cpOpt; |
104 | u16 cpNexpOfs; | 104 | short cpNexpOfs; |
105 | u16 tdCal2k; | 105 | short tdCal2k; |
106 | u16 tdCal8k; | 106 | short tdCal8k; |
107 | }; | 107 | }; |
108 | 108 | ||
109 | enum app_env { | 109 | enum app_env { |