diff options
| author | Jeeja KP <[email protected]> | 2015-08-04 03:58:39 +0000 |
|---|---|---|
| committer | Takashi Iwai <[email protected]> | 2015-08-04 05:04:46 +0000 |
| commit | 5d942ce63c8fd98794a8ba9af559925c8432a052 (patch) | |
| tree | c5dd71eea77daf61d8103e8131a57c80227867d9 /tools/perf/scripts/python | |
| parent | ALSA: HDA: Fix stream assignment for host in decoupled mode (diff) | |
| download | kernel-5d942ce63c8fd98794a8ba9af559925c8432a052.tar.gz kernel-5d942ce63c8fd98794a8ba9af559925c8432a052.zip | |
ALSA: HDA: Dont check return for snd_hdac_chip_readl
The snd_hdac_chip_readl return can never be less than zeros,
so no point in checking for the return value
This fixes following static checker warnings in
snd_hdac_ext_bus_parse_capabilities
sound/hda/ext/hdac_ext_controller.c:47
snd_hdac_ext_bus_parse_capabilities()
warn: unsigned 'offset' is never less than zero.
sound/hda/ext/hdac_ext_controller.c:54
snd_hdac_ext_bus_parse_capabilities()
warn: unsigned 'cur_cap' is never less than zero.
Signed-off-by: Jeeja KP <[email protected]>
Reported-by: Dan Carpenter <[email protected]>
Signed-off-by: Vinod Koul <[email protected]>
Signed-off-by: Takashi Iwai <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
