From 54c98834cd1ea160e6433465a204573223eb17b5 Mon Sep 17 00:00:00 2001 From: Vladislav Bolkhovitin Date: Fri, 25 Jun 2010 18:14:13 +0000 Subject: [PATCH] BE changes to keep sparse happy pointed out by Bart Van Assche git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1791 d57e44dd-8a1f-0410-8b47-8ef2f437770f --- iscsi-scst/kernel/iscsi.c | 2 +- scst/include/scst.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/iscsi-scst/kernel/iscsi.c b/iscsi-scst/kernel/iscsi.c index 7fe6e4cfb..6f65ab832 100644 --- a/iscsi-scst/kernel/iscsi.c +++ b/iscsi-scst/kernel/iscsi.c @@ -3477,7 +3477,7 @@ static void iscsi_task_mgmt_fn_done(struct scst_mgmt_cmd *scst_mcmd) static int iscsi_scsi_aen(struct scst_aen *aen) { int res = SCST_AEN_RES_SUCCESS; - uint64_t lun = scst_aen_get_lun(aen); + __be64 lun = scst_aen_get_lun(aen); const uint8_t *sense = scst_aen_get_sense(aen); int sense_len = scst_aen_get_sense_len(aen); struct iscsi_session *sess = scst_sess_get_tgt_priv( diff --git a/scst/include/scst.h b/scst/include/scst.h index 0c0318f4f..c185d926c 100644 --- a/scst/include/scst.h +++ b/scst/include/scst.h @@ -3198,7 +3198,7 @@ static inline struct scst_session *scst_aen_get_sess(struct scst_aen *aen) } /* Returns AEN's LUN */ -static inline uint64_t scst_aen_get_lun(struct scst_aen *aen) +static inline __be64 scst_aen_get_lun(struct scst_aen *aen) { return aen->lun; }