dvb: negative value assigned to unsigned int in CDRXD().
Subsystems (2)
PATCH 1/1 dvb: negative value assigned to unsigned int in CDRXD().
From: Santosh Nayak <[email protected]>
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 <[email protected]>
--- drivers/media/dvb/frontends/drxd_hard.c | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-)
drivers/media/dvb/frontends/drxd_hard.c +3 -3
@@ -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 {
Signature · 1 line
1.7.4.4
Quoted 7 lines · santosh nayak
From: Santosh Nayak <[email protected]>
In
CDRXD(), Negative number is assigned to unsigned variable 'state->noise_cal.tdCal2.Members of 'SNoiseCal' should be 'signed short'.
In your changelogs could you please write something about how this change will affect what the user sees. That way users know if it fixes something they care about and they will apply your patch.
regards,
dan carpenter