diff options
Diffstat (limited to 'drivers/scsi/scsi_transport_iscsi.c')
-rw-r--r-- | drivers/scsi/scsi_transport_iscsi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/scsi_transport_iscsi.c b/drivers/scsi/scsi_transport_iscsi.c index 2effa1c33fb2..f189ce7541ff 100644 --- a/drivers/scsi/scsi_transport_iscsi.c +++ b/drivers/scsi/scsi_transport_iscsi.c | |||
@@ -97,7 +97,7 @@ static ssize_t | |||
97 | show_transport_handle(struct class_device *cdev, char *buf) | 97 | show_transport_handle(struct class_device *cdev, char *buf) |
98 | { | 98 | { |
99 | struct iscsi_internal *priv = cdev_to_iscsi_internal(cdev); | 99 | struct iscsi_internal *priv = cdev_to_iscsi_internal(cdev); |
100 | return sprintf(buf, "%llu", iscsi_handle(priv->iscsi_transport)); | 100 | return sprintf(buf, "%llu", (unsigned long long)iscsi_handle(priv->iscsi_transport)); |
101 | } | 101 | } |
102 | static CLASS_DEVICE_ATTR(handle, S_IRUGO, show_transport_handle, NULL); | 102 | static CLASS_DEVICE_ATTR(handle, S_IRUGO, show_transport_handle, NULL); |
103 | 103 | ||