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
File | Mode | Size |
---|---|---|
Kconfig | -rw-r--r-- | 2.0 KB |
Makefile | -rw-r--r-- | 379 bytes |
actions.c | -rw-r--r-- | 24.5 KB |
datapath.c | -rw-r--r-- | 56.3 KB |
datapath.h | -rw-r--r-- | 6.0 KB |
dp_notify.c | -rw-r--r-- | 2.7 KB |
flow.c | -rw-r--r-- | 18.8 KB |
flow.h | -rw-r--r-- | 8.2 KB |
flow_netlink.c | -rw-r--r-- | 62.2 KB |
flow_netlink.h | -rw-r--r-- | 2.5 KB |
flow_table.c | -rw-r--r-- | 18.6 KB |
flow_table.h | -rw-r--r-- | 2.8 KB |
vport-geneve.c | -rw-r--r-- | 6.6 KB |
vport-gre.c | -rw-r--r-- | 7.2 KB |
vport-internal_dev.c | -rw-r--r-- | 7.1 KB |
vport-internal_dev.h | -rw-r--r-- | 1.0 KB |
vport-netdev.c | -rw-r--r-- | 5.8 KB |
vport-netdev.h | -rw-r--r-- | 1.2 KB |
vport-vxlan.c | -rw-r--r-- | 7.8 KB |
vport-vxlan.h | -rw-r--r-- | 146 bytes |
vport.c | -rw-r--r-- | 16.0 KB |
vport.h | -rw-r--r-- | 7.9 KB |
Computing file changes ...