Revision 5d942ce63c8fd98794a8ba9af559925c8432a052 authored by Jeeja KP on 04 August 2015, 03:58:39 UTC, committed by Takashi Iwai on 04 August 2015, 05:04:46 UTC
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 <jeeja.kp@intel.com>
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
1 parent 9b06dc9
History
File Mode Size
ircomm
irlan
irnet
Kconfig -rw-r--r-- 3.3 KB
Makefile -rw-r--r-- 503 bytes
af_irda.c -rw-r--r-- 66.3 KB
discovery.c -rw-r--r-- 12.4 KB
irda_device.c -rw-r--r-- 7.9 KB
iriap.c -rw-r--r-- 25.9 KB
iriap_event.c -rw-r--r-- 12.2 KB
irias_object.c -rw-r--r-- 13.2 KB
irlap.c -rw-r--r-- 33.1 KB
irlap_event.c -rw-r--r-- 64.3 KB
irlap_frame.c -rw-r--r-- 35.5 KB
irlmp.c -rw-r--r-- 53.4 KB
irlmp_event.c -rw-r--r-- 25.3 KB
irlmp_frame.c -rw-r--r-- 13.7 KB
irmod.c -rw-r--r-- 5.1 KB
irnetlink.c -rw-r--r-- 3.2 KB
irproc.c -rw-r--r-- 2.5 KB
irqueue.c -rw-r--r-- 22.5 KB
irsysctl.c -rw-r--r-- 6.9 KB
irttp.c -rw-r--r-- 50.1 KB
parameters.c -rw-r--r-- 15.3 KB
qos.c -rw-r--r-- 22.2 KB
timer.c -rw-r--r-- 6.3 KB
wrapper.c -rw-r--r-- 13.0 KB

back to top