target: use 64-bit LUNs
[GitHub/exynos8895/android_kernel_samsung_universal8895.git] / drivers / target / loopback / tcm_loop.c
index bd9d11a6f823d4bf1a759354cb70447c7a0f771e..a556bdebd775dbc4ecbef99b1a9153493916a9f3 100644 (file)
@@ -215,7 +215,7 @@ static int tcm_loop_queuecommand(struct Scsi_Host *sh, struct scsi_cmnd *sc)
  * to struct scsi_device
  */
 static int tcm_loop_issue_tmr(struct tcm_loop_tpg *tl_tpg,
-                             int lun, int task, enum tcm_tmreq_table tmr)
+                             u64 lun, int task, enum tcm_tmreq_table tmr)
 {
        struct se_cmd *se_cmd = NULL;
        struct se_session *se_sess;
@@ -747,7 +747,7 @@ static void tcm_loop_port_unlink(
                                se_lun->unpacked_lun);
        if (!sd) {
                pr_err("Unable to locate struct scsi_device for %d:%d:"
-                       "%d\n", 0, tl_tpg->tl_tpgt, se_lun->unpacked_lun);
+                       "%llu\n", 0, tl_tpg->tl_tpgt, se_lun->unpacked_lun);
                return;
        }
        /*