diff options
author | Joe Perches <joe@perches.com> | 2010-02-10 17:51:43 -0500 |
---|---|---|
committer | James Bottomley <James.Bottomley@suse.de> | 2010-02-17 14:39:41 -0500 |
commit | d9573e7af16de0e3aa55db1703dbe544faf391de (patch) | |
tree | cc540a1b5e8a1f3a6c24bf0e015eddb46e5a8e00 /drivers/scsi/bnx2i | |
parent | 03cb3829e0e5650518ce37e2b4420a35e034dc9e (diff) |
[SCSI] cxgb3i, bnx2i: remove uses of nipquad use %pi4
Remove uses of NIPQUAD, use %pI4
Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Mike Christie <michaelc@cs.wisc.edu>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
Diffstat (limited to 'drivers/scsi/bnx2i')
-rw-r--r-- | drivers/scsi/bnx2i/bnx2i_iscsi.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/scsi/bnx2i/bnx2i_iscsi.c b/drivers/scsi/bnx2i/bnx2i_iscsi.c index 33b2294625bb..51709cb9a93e 100644 --- a/drivers/scsi/bnx2i/bnx2i_iscsi.c +++ b/drivers/scsi/bnx2i/bnx2i_iscsi.c | |||
@@ -1426,8 +1426,8 @@ static int bnx2i_conn_get_param(struct iscsi_cls_conn *cls_conn, | |||
1426 | break; | 1426 | break; |
1427 | case ISCSI_PARAM_CONN_ADDRESS: | 1427 | case ISCSI_PARAM_CONN_ADDRESS: |
1428 | if (bnx2i_conn->ep) | 1428 | if (bnx2i_conn->ep) |
1429 | len = sprintf(buf, NIPQUAD_FMT "\n", | 1429 | len = sprintf(buf, "%pI4\n", |
1430 | NIPQUAD(bnx2i_conn->ep->cm_sk->dst_ip)); | 1430 | &bnx2i_conn->ep->cm_sk->dst_ip); |
1431 | break; | 1431 | break; |
1432 | default: | 1432 | default: |
1433 | return iscsi_conn_get_param(cls_conn, param, buf); | 1433 | return iscsi_conn_get_param(cls_conn, param, buf); |