mirror of https://github.com/torvalds/linux.git
"status" is used as an index into the Adapter->PackInfo[] array, which has NO_OF_QUEUES elements. This code actually works OK. The SearchSfid() function always returns a valid index or it returns NO_OF_QUEUES + 1. But it looks sloppy and it makes the static checkers complain. Signed-off-by: Dan Carpenter <error27@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de> |
||
|---|---|---|
| .. | ||
| Adapter.h | ||
| Arp.c | ||
| Bcmchar.c | ||
| Bcmnet.c | ||
| CmHost.c | ||
| CmHost.h | ||
| DDRInit.c | ||
| DDRInit.h | ||
| Debug.c | ||
| Debug.h | ||
| HandleControlPacket.c | ||
| HostMIBSInterface.h | ||
| HostMibs.h | ||
| IPv6Protocol.c | ||
| IPv6ProtocolHdr.h | ||
| InterfaceAdapter.h | ||
| InterfaceDld.c | ||
| InterfaceIdleMode.c | ||
| InterfaceIdleMode.h | ||
| InterfaceInit.c | ||
| InterfaceInit.h | ||
| InterfaceIsr.c | ||
| InterfaceIsr.h | ||
| InterfaceMacros.h | ||
| InterfaceMisc.c | ||
| InterfaceMisc.h | ||
| InterfaceRx.c | ||
| InterfaceRx.h | ||
| InterfaceTx.c | ||
| InterfaceTx.h | ||
| Interfacemain.h | ||
| Ioctl.h | ||
| Kconfig | ||
| LeakyBucket.c | ||
| Macros.h | ||
| Makefile | ||
| Misc.c | ||
| Osal_Misc.c | ||
| PHSDefines.h | ||
| PHSModule.c | ||
| PHSModule.h | ||
| Protocol.h | ||
| Prototypes.h | ||
| Qos.c | ||
| Queue.h | ||
| TODO | ||
| Transmit.c | ||
| Typedefs.h | ||
| Version.h | ||
| cntrl_SignalingInterface.h | ||
| headers.h | ||
| hostmibs.c | ||
| led_control.c | ||
| led_control.h | ||
| nvm.c | ||
| nvm.h | ||
| osal_misc.h | ||
| sort.c | ||
| target_params.h | ||
| vendorspecificextn.c | ||
| vendorspecificextn.h | ||