diff options
Diffstat (limited to 'drivers/scsi/scsi_transport_iscsi.c')
-rw-r--r-- | drivers/scsi/scsi_transport_iscsi.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/scsi/scsi_transport_iscsi.c b/drivers/scsi/scsi_transport_iscsi.c index 0102a2d70dd8..b481e62a12cc 100644 --- a/drivers/scsi/scsi_transport_iscsi.c +++ b/drivers/scsi/scsi_transport_iscsi.c | |||
@@ -1780,7 +1780,7 @@ EXPORT_SYMBOL_GPL(iscsi_scan_finished); | |||
1780 | struct iscsi_scan_data { | 1780 | struct iscsi_scan_data { |
1781 | unsigned int channel; | 1781 | unsigned int channel; |
1782 | unsigned int id; | 1782 | unsigned int id; |
1783 | unsigned int lun; | 1783 | u64 lun; |
1784 | }; | 1784 | }; |
1785 | 1785 | ||
1786 | static int iscsi_user_scan_session(struct device *dev, void *data) | 1786 | static int iscsi_user_scan_session(struct device *dev, void *data) |
@@ -1827,7 +1827,7 @@ user_scan_exit: | |||
1827 | } | 1827 | } |
1828 | 1828 | ||
1829 | static int iscsi_user_scan(struct Scsi_Host *shost, uint channel, | 1829 | static int iscsi_user_scan(struct Scsi_Host *shost, uint channel, |
1830 | uint id, uint lun) | 1830 | uint id, u64 lun) |
1831 | { | 1831 | { |
1832 | struct iscsi_scan_data scan_data; | 1832 | struct iscsi_scan_data scan_data; |
1833 | 1833 | ||
@@ -3059,7 +3059,7 @@ iscsi_get_chap(struct iscsi_transport *transport, struct nlmsghdr *nlh) | |||
3059 | evchap->u.get_chap.host_no = ev->u.get_chap.host_no; | 3059 | evchap->u.get_chap.host_no = ev->u.get_chap.host_no; |
3060 | evchap->u.get_chap.chap_tbl_idx = ev->u.get_chap.chap_tbl_idx; | 3060 | evchap->u.get_chap.chap_tbl_idx = ev->u.get_chap.chap_tbl_idx; |
3061 | evchap->u.get_chap.num_entries = ev->u.get_chap.num_entries; | 3061 | evchap->u.get_chap.num_entries = ev->u.get_chap.num_entries; |
3062 | buf = (char *) ((char *)evchap + sizeof(*evchap)); | 3062 | buf = (char *)evchap + sizeof(*evchap); |
3063 | memset(buf, 0, chap_buf_size); | 3063 | memset(buf, 0, chap_buf_size); |
3064 | 3064 | ||
3065 | err = transport->get_chap(shost, ev->u.get_chap.chap_tbl_idx, | 3065 | err = transport->get_chap(shost, ev->u.get_chap.chap_tbl_idx, |
@@ -3463,7 +3463,7 @@ iscsi_get_host_stats(struct iscsi_transport *transport, struct nlmsghdr *nlh) | |||
3463 | evhost_stats->type = nlh->nlmsg_type; | 3463 | evhost_stats->type = nlh->nlmsg_type; |
3464 | evhost_stats->u.get_host_stats.host_no = | 3464 | evhost_stats->u.get_host_stats.host_no = |
3465 | ev->u.get_host_stats.host_no; | 3465 | ev->u.get_host_stats.host_no; |
3466 | buf = (char *)((char *)evhost_stats + sizeof(*evhost_stats)); | 3466 | buf = (char *)evhost_stats + sizeof(*evhost_stats); |
3467 | memset(buf, 0, host_stats_size); | 3467 | memset(buf, 0, host_stats_size); |
3468 | 3468 | ||
3469 | err = transport->get_host_stats(shost, buf, host_stats_size); | 3469 | err = transport->get_host_stats(shost, buf, host_stats_size); |