88da45bfd0
This fixes a false positive warning when building on GCC 7.2.1 with CONFIG_COVERAGE=y. bdlen is always initialized on the path where it can be used, but the compiler seems to get confused when coverage is enabled, so zero out the value at the top of the function. Change-Id: Ifc13abff80124cad3d26286ffebf84f967141d13 Reported-by: John Meneghini <johnm@netapp.com> Signed-off-by: Daniel Verkamp <daniel.verkamp@intel.com> Reviewed-on: https://review.gerrithub.io/396244 Tested-by: SPDK Automated Test System <sys_sgsw@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com> |
||
---|---|---|
.. | ||
dev.c | ||
lun.c | ||
Makefile | ||
port.c | ||
scsi_bdev.c | ||
scsi_internal.h | ||
scsi_rpc.c | ||
scsi.c | ||
task.c |