mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-16 17:23:55 +08:00
scsi: qla2xxx: Use %p for printing pointers
Using %p instead of %lx to print a pointer allows to remove a cast. Signed-off-by: Bart Van Assche <bart.vanassche@wdc.com> Cc: Himanshu Madhani <himanshu.madhani@cavium.com> Acked-by: Himanshu Madhani <himanshu.madhani@cavium.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
This commit is contained in:
parent
128bddacc4
commit
da4704d941
@ -2688,8 +2688,8 @@ qla2x00_chip_diag(scsi_qla_host_t *vha)
|
||||
/* Assume a failed state */
|
||||
rval = QLA_FUNCTION_FAILED;
|
||||
|
||||
ql_dbg(ql_dbg_init, vha, 0x007b,
|
||||
"Testing device at %lx.\n", (u_long)®->flash_address);
|
||||
ql_dbg(ql_dbg_init, vha, 0x007b, "Testing device at %p.\n",
|
||||
®->flash_address);
|
||||
|
||||
spin_lock_irqsave(&ha->hardware_lock, flags);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user