diff options
| author | Mauro Carvalho Chehab <[email protected]> | 2016-02-22 13:43:57 -0300 |
|---|---|---|
| committer | Mauro Carvalho Chehab <[email protected]> | 2016-02-23 07:24:17 -0300 |
| commit | 88d0518c0d91be4577de7a947af6d0255bbd0966 (patch) | |
| tree | 07ca3a247d7b6a1ef0c2f45d80a410177292e4a6 /tools/perf/scripts/python/net_dropmonitor.py | |
| parent | 4c2f7f72b8993c73724790bf2ac33cb788d1ff06 (diff) | |
[media] dib9000: read16/write16 could return an error code
Both dib9000_read16_attr and dib9000_write16_attr can return an
error code. However, they currently return an u16. This produces the
following warnings on smatch:
drivers/media/dvb-frontends/dib9000.c:262 dib9000_read16_attr() warn: signedness bug returning '(-121)'
drivers/media/dvb-frontends/dib9000.c:321 dib9000_write16_attr() warn: signedness bug returning '(-22)'
drivers/media/dvb-frontends/dib9000.c:353 dib9000_write16_attr() warn: signedness bug returning '(-121)'
Reviewed-by: Michael Ira Krufky <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions