mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-22 05:01:27 +00:00
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:
@@ -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(
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user