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
auth_gss
xprtrdma
Kconfig -rw-r--r-- 1.7 KB
Makefile -rw-r--r-- 585 bytes
addr.c -rw-r--r-- 8.7 KB
auth.c -rw-r--r-- 20.9 KB
auth_generic.c -rw-r--r-- 7.6 KB
auth_null.c -rw-r--r-- 2.6 KB
auth_unix.c -rw-r--r-- 5.8 KB
backchannel_rqst.c -rw-r--r-- 10.5 KB
cache.c -rw-r--r-- 43.2 KB
clnt.c -rw-r--r-- 60.0 KB
debugfs.c -rw-r--r-- 8.0 KB
netns.h -rw-r--r-- 928 bytes
rpc_pipe.c -rw-r--r-- 36.5 KB
rpcb_clnt.c -rw-r--r-- 29.9 KB
sched.c -rw-r--r-- 28.9 KB
socklib.c -rw-r--r-- 4.5 KB
stats.c -rw-r--r-- 7.5 KB
sunrpc.h -rw-r--r-- 2.0 KB
sunrpc_syms.c -rw-r--r-- 2.6 KB
svc.c -rw-r--r-- 33.4 KB
svc_xprt.c -rw-r--r-- 35.9 KB
svcauth.c -rw-r--r-- 3.7 KB
svcauth_unix.c -rw-r--r-- 21.1 KB
svcsock.c -rw-r--r-- 42.5 KB
sysctl.c -rw-r--r-- 3.6 KB
timer.c -rw-r--r-- 2.9 KB
xdr.c -rw-r--r-- 37.8 KB
xprt.c -rw-r--r-- 37.1 KB
xprtsock.c -rw-r--r-- 80.6 KB

back to top