Task #119440 - fixed.err

back to task #119440
download
Error: COMPILER_WARNING:
rdma-core-61.0/providers/mlx5/mlx5_vfio.c: scope_hint: In function ‘mlx5_vfio_process_cmd_eqe’
rdma-core-61.0/providers/mlx5/mlx5_vfio.c:446:13: warning[-Wunused-but-set-variable=]: variable ‘count’ set but not used
#  446 |         int count = 0;
#      |             ^~~~~
#  444|   	unsigned long vector = be32toh(cmd_eqe->vector);
#  445|   	unsigned long slot;
#  446|-> 	int count = 0;
#  447|   	int ret;
#  448|   

Error: GCC_ANALYZER_WARNING (CWE-688):
rdma-core-61.0/redhat-linux-build/include/infiniband/cmd_ioctl.h:284:17: warning[-Wanalyzer-null-argument]: use of NULL ‘data’ where non-null expected
rdma-core-61.0/libibverbs/cmd_dmah.c:8:5: enter_function: entry to ‘ibv_cmd_alloc_dmah’
rdma-core-61.0/libibverbs/cmd_dmah.c:20:12: branch_true: following ‘true’ branch...
rdma-core-61.0/libibverbs/cmd_dmah.c:21:17: branch_true: ...to here
rdma-core-61.0/libibverbs/cmd_dmah.c:21:17: call_function: inlined call to ‘fill_attr_in_enum’ from ‘ibv_cmd_alloc_dmah’
#  282|   	attr->len = len;
#  283|   	if (len <= sizeof(uint64_t))
#  284|-> 		memcpy(&attr->data, data, len);
#  285|   	else
#  286|   		attr->data = ioctl_ptr_to_u64(data);