From 2470b10ad098208923d826b32ad44e72a86411f5 Mon Sep 17 00:00:00 2001 From: Bart Van Assche Date: Thu, 1 Dec 2016 05:22:01 +0000 Subject: [PATCH] scst_vdisk: Remove more unneeded casts git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7045 d57e44dd-8a1f-0410-8b47-8ef2f437770f --- scst/src/dev_handlers/scst_vdisk.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/scst/src/dev_handlers/scst_vdisk.c b/scst/src/dev_handlers/scst_vdisk.c index 93fdc3c0c..50da21958 100644 --- a/scst/src/dev_handlers/scst_vdisk.c +++ b/scst/src/dev_handlers/scst_vdisk.c @@ -2961,8 +2961,7 @@ static bool vdisk_parse_offset(struct vdisk_cmd_params *p, struct scst_cmd *cmd) fua = (cdb[10] & 0x8); if (fua) TRACE(TRACE_ORDER, "FUA: loff=%lld, data_len=%lld", - (unsigned long long)loff, - (unsigned long long)data_len); + loff, data_len); } break; case WRITE_10: @@ -6022,7 +6021,7 @@ restart: unsigned long flags; PRINT_ERROR("DIF write() returned %lld from %zd", - (long long)err, full_len); + err, full_len); /* To protect sense setting with blockio */ spin_lock_irqsave(&vdev_err_lock, flags); if (err == -EAGAIN)