[Pkg-iscsi-maintainers] [open-iscsi] 39/48: iscsiadm: Fix the compile time warning

Ritesh Raj Sarraf rrs at moszumanska.debian.org
Wed Aug 20 13:54:14 UTC 2014

This is an automated email from the git hooks/post-receive script.

rrs pushed a commit to branch upstream-mnc
in repository open-iscsi.

commit b1526306e413f0874d608637cd2a9f6571ea4d32
Author: Adheer Chandravanshi <adheer.chandravanshi at qlogic.com>
Date:   Mon Feb 24 03:14:18 2014 -0500

    iscsiadm: Fix the compile time warning
    This fixes the following compile time warning message:
    iscsiadm.c:2248: warning: passing argument 1 of 'print_host_stats' from incompatible pointer type
    Signed-off-by: Adheer Chandravanshi <adheer.chandravanshi at qlogic.com>
 usr/iscsiadm.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/usr/iscsiadm.c b/usr/iscsiadm.c
index 36617ab..389f4b8 100644
--- a/usr/iscsiadm.c
+++ b/usr/iscsiadm.c
@@ -2245,7 +2245,8 @@ static int exec_host_stats_op(int op, int info_level, uint32_t host_no)
 		goto exit_host_stats;
-	print_host_stats(req_buf + sizeof(struct iscsi_uevent));
+	print_host_stats((struct iscsi_offload_host_stats *)(req_buf +
+			 sizeof(struct iscsi_uevent)));

Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-iscsi/open-iscsi.git

More information about the Pkg-iscsi-maintainers mailing list