[PATCH 28/28] ipc_cfg: Make coverity happy

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Signed-off-by: Jan Friesse <jfriesse@xxxxxxxxxx>
---
 include/corosync/ipc_cfg.h |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/include/corosync/ipc_cfg.h b/include/corosync/ipc_cfg.h
index 1ff7e2f..f7c42d4 100644
--- a/include/corosync/ipc_cfg.h
+++ b/include/corosync/ipc_cfg.h
@@ -129,7 +129,8 @@ struct res_lib_cfg_get_node_addrs {
         struct qb_ipc_response_header header __attribute__((aligned(8)));
 	unsigned int family;
 	unsigned int num_addrs;
-	char addrs[TOTEMIP_ADDRLEN][0];
+	/* array of TOTEMIP_ADDRLEN items */
+	char addrs[];
 };
 
 struct req_lib_cfg_local_get {
-- 
1.7.1

_______________________________________________
discuss mailing list
discuss@xxxxxxxxxxxx
http://lists.corosync.org/mailman/listinfo/discuss




[Index of Archives]     [Linux Clusters]     [Corosync Project]     [Linux USB Devel]     [Linux Audio Users]     [Photo]     [Yosemite News]    [Yosemite Photos]    [Linux Kernel]     [Linux SCSI]     [X.Org]

  Powered by Linux