BE changes to keep sparse happy pointed out by Bart Van Assche <bvanassche@acm.org>

git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1791 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
Vladislav Bolkhovitin
2010-06-25 18:14:13 +00:00
parent e61d66a0c0
commit 54c98834cd
2 changed files with 2 additions and 2 deletions

View File

@@ -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(

View File

@@ -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;
}