[SCSI] libfc: fix compile warning
I got the following warnings on IA64: drivers/scsi/libfc/fc_lport.c: In function 'fc_lport_recv_flogi_req': drivers/scsi/libfc/fc_lport.c:788: warning: format '%llx' expects type 'long long unsigned int', but argument 3 has type 'u64' drivers/scsi/libfc/fc_lport.c:792: warning: format '%llx' expects type 'long long unsigned int', but argument 3 has type 'u64' scsi/libfc/fc_rport.c: In function 'fc_rport_recv_plogi_req': /home/fujita/git/linux-2.6/drivers/scsi/libfc/fc_rport.c:968: warning: format '%llx' expects type 'long long unsigned int', but argument 4 has type 'u64' Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> Cc: Robert Love <robert.w.love@intel.com> Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
This commit is contained in:
parent
d943aeebc5
commit
6e7490c73d
2 changed files with 4 additions and 3 deletions
|
@ -762,10 +762,11 @@ static void fc_lport_recv_flogi_req(struct fc_seq *sp_in,
|
||||||
remote_wwpn = get_unaligned_be64(&flp->fl_wwpn);
|
remote_wwpn = get_unaligned_be64(&flp->fl_wwpn);
|
||||||
if (remote_wwpn == lport->wwpn) {
|
if (remote_wwpn == lport->wwpn) {
|
||||||
FC_DBG("FLOGI from port with same WWPN %llx "
|
FC_DBG("FLOGI from port with same WWPN %llx "
|
||||||
"possible configuration error\n", remote_wwpn);
|
"possible configuration error\n",
|
||||||
|
(unsigned long long)remote_wwpn);
|
||||||
goto out;
|
goto out;
|
||||||
}
|
}
|
||||||
FC_DBG("FLOGI from port WWPN %llx\n", remote_wwpn);
|
FC_DBG("FLOGI from port WWPN %llx\n", (unsigned long long)remote_wwpn);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* XXX what is the right thing to do for FIDs?
|
* XXX what is the right thing to do for FIDs?
|
||||||
|
|
|
@ -988,7 +988,7 @@ static void fc_rport_recv_plogi_req(struct fc_rport *rport,
|
||||||
switch (rdata->rp_state) {
|
switch (rdata->rp_state) {
|
||||||
case RPORT_ST_INIT:
|
case RPORT_ST_INIT:
|
||||||
FC_DEBUG_RPORT("incoming PLOGI from %6x wwpn %llx state INIT "
|
FC_DEBUG_RPORT("incoming PLOGI from %6x wwpn %llx state INIT "
|
||||||
"- reject\n", sid, wwpn);
|
"- reject\n", sid, (unsigned long long)wwpn);
|
||||||
reject = ELS_RJT_UNSUP;
|
reject = ELS_RJT_UNSUP;
|
||||||
break;
|
break;
|
||||||
case RPORT_ST_PLOGI:
|
case RPORT_ST_PLOGI:
|
||||||
|
|
Loading…
Reference in a new issue